Exemple #1
0
 public PrintDialogHandler()
 {
     Control = new swf.PrintDialog {
         UseEXDialog     = true,
         AllowSomePages  = true,
         PrinterSettings = PrintSettingsHandler.DefaultSettings()
     };
 }
Exemple #2
0
 public static sdp.PrinterSettings ToSD(this PrintSettings settings)
 {
     if (settings == null)
     {
         return(PrintSettingsHandler.DefaultSettings());
     }
     else
     {
         return(((PrintSettingsHandler)settings.Handler).Control);
     }
 }