2 writes to _printerSettings
System.Drawing.Common (2)
System\Drawing\Printing\PageSettings.cs (2)
32
_printerSettings
= printerSettings;
208
set =>
_printerSettings
= value ?? new PrinterSettings();
16 references to _printerSettings
System.Drawing.Common (16)
System\Drawing\Printing\PageSettings.cs (16)
42
HGLOBAL modeHandle = (HGLOBAL)
_printerSettings
.GetHdevmode();
56
?
_printerSettings
.GetModeField(ModeField.Color, (short)DEVMODE_COLOR.DMCOLOR_MONOCHROME) == (short)DEVMODE_COLOR.DMCOLOR_MONOCHROME
68
using var hdc =
_printerSettings
.CreateDeviceContext(this);
83
using var hdc =
_printerSettings
.CreateDeviceContext(this);
97
?
_printerSettings
.GetModeField(ModeField.Orientation, (short)PInvokeCore.DMORIENT_PORTRAIT) == PInvokeCore.DMORIENT_LANDSCAPE
132
HGLOBAL modeHandle = (HGLOBAL)
_printerSettings
.GetHdevmode();
153
using var hdc =
_printerSettings
.CreateInformationContext(this);
190
HGLOBAL modeHandle = (HGLOBAL)
_printerSettings
.GetHdevmode();
207
get =>
_printerSettings
;
323
fixed (char* n =
_printerSettings
.PrinterName)
347
HGLOBAL modeHandle =
_printerSettings
.GetHdevmodeInternal();
367
?
_printerSettings
.GetModeField(ModeField.Orientation, (short)PInvokeCore.DMORIENT_PORTRAIT, modeHandle) == PInvokeCore.DMORIENT_LANDSCAPE
381
modeHandle = (HGLOBAL)
_printerSettings
.GetHdevmode();
401
PaperSize[] sizes =
_printerSettings
.Get_PaperSizes();
422
PaperSource[] sources =
_printerSettings
.Get_PaperSources();
441
PrinterResolution[] resolutions =
_printerSettings
.Get_PrinterResolutions();