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