3 writes to _pageSettings
System.Windows.Forms (3)
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
79_pageSettings = _printDocument.DefaultPageSettings; 120_pageSettings = value; 216_pageSettings = null;
8 references to _pageSettings
System.Windows.Forms (8)
System\Windows\Forms\Printing\PageSetupDialog.cs (8)
117get => _pageSettings; 198if (_pageSettings?.Margins is not null) 266if (_pageSettings is null) 311if (_pageSettings.Margins is not null) 313Margins margins = PrinterUnitConvert.Convert(_pageSettings.Margins, PrinterUnit.Display, toUnit); 327PrinterSettings printer = _printerSettings ?? _pageSettings.PrinterSettings; 329dialogSettings.hDevMode = (HGLOBAL)printer.GetHdevmode(_pageSettings); 340UpdateSettings(dialogSettings, _pageSettings, _printerSettings);