11 references to PrinterName
System.Drawing (10)
commonui\System\Drawing\Printing\InvalidPrinterException.cs (1)
66
return SR.GetString(SR.InvalidPrinterException_InvalidPrinter, settings.
PrinterName
);
commonui\System\Drawing\Printing\PageSettings.cs (1)
419
int retCode = SafeNativeMethods.DocumentProperties(NativeMethods.NullHandleRef, NativeMethods.NullHandleRef, printerSettings.
PrinterName
, modePointer, modePointer, SafeNativeMethods.DM_IN_BUFFER | SafeNativeMethods.DM_OUT_BUFFER);
commonui\System\Drawing\Printing\PrinterSettings.cs (8)
274
/// Gets a value indicating whether the <see cref='System.Drawing.Printing.PrinterSettings.
PrinterName
'/>
299
/// Gets a value indicating whether the <see cref='System.Drawing.Printing.PrinterSettings.
PrinterName
'/>
830
string printerName =
PrinterName
;
1099
string printerName =
PrinterName
; // the PrinterName property is slow when using the default printer
1182
string printerName =
PrinterName
; // this is quite expensive if PrinterName is left default
1225
string printerName =
PrinterName
; // this is quite expensive if PrinterName is left default
1262
string printerName =
PrinterName
; // this is quite expensive if PrinterName is left default
1382
string printerName = (IntSecurity.HasPermission(IntSecurity.AllPrinting)) ?
PrinterName
: "<printer name unavailable>";
System.Workflow.ComponentModel (1)
AuthoringOM\Design\WorkflowPrinting.cs (1)
99
new ArrayList(PrinterSettings.InstalledPrinters).Contains(PrinterSettings.
PrinterName
));