예제 #1
0
 internal void LoadDefaultResolutions(PrinterSettings.PrinterResolutionCollection col)
 {
     col.Add(new PrinterResolution((int)PrinterResolutionKind.High, -1, PrinterResolutionKind.High));
     col.Add(new PrinterResolution((int)PrinterResolutionKind.Medium, -1, PrinterResolutionKind.Medium));
     col.Add(new PrinterResolution((int)PrinterResolutionKind.Low, -1, PrinterResolutionKind.Low));
     col.Add(new PrinterResolution((int)PrinterResolutionKind.Draft, -1, PrinterResolutionKind.Draft));
 }
예제 #2
0
#pragma warning restore 649
        internal static void LoadDefaultResolutions(PrinterSettings.PrinterResolutionCollection col)
        {
            col.Add(new PrinterResolution(PrinterResolutionKind.High, (int)PrinterResolutionKind.High, -1));
            col.Add(new PrinterResolution(PrinterResolutionKind.Medium, (int)PrinterResolutionKind.Medium, -1));
            col.Add(new PrinterResolution(PrinterResolutionKind.Low, (int)PrinterResolutionKind.Low, -1));
            col.Add(new PrinterResolution(PrinterResolutionKind.Draft, (int)PrinterResolutionKind.Draft, -1));
        }
예제 #3
0
		private void ResetToDefaults ()
		{			
			printer_resolutions = null;
			paper_sizes = null;
			paper_sources = null;
			default_pagesettings = null;
			maximum_page = 9999; 	
			copies = 1;
			collate = true;
		}
 private void ResetToDefaults()
 {
     printer_resolutions  = null;
     paper_sizes          = null;
     paper_sources        = null;
     default_pagesettings = null;
     maximum_page         = 9999;
     copies  = 1;
     collate = true;
 }