3 writes to pageSettings
System.Windows.Forms (3)
winforms\Managed\System\WinForms\Printing\PageSetupDialog.cs (3)
139
pageSettings
= printDocument.DefaultPageSettings;
201
pageSettings
= value;
291
pageSettings
= null;
8 references to pageSettings
System.Windows.Forms (8)
winforms\Managed\System\WinForms\Printing\PageSetupDialog.cs (8)
199
get { return
pageSettings
;}
273
if (
pageSettings
.Margins != null) flags |= NativeMethods.PSD_MARGINS;
356
if (
pageSettings
== null)
389
if (
pageSettings
.Margins != null) {
390
Margins margins = PrinterUnitConvert.Convert(
pageSettings
.Margins, PrinterUnit.Display, toUnit);
405
PrinterSettings printer = (printerSettings == null) ?
pageSettings
.PrinterSettings : printerSettings;
410
data.hDevMode = printer.GetHdevmode(
pageSettings
);
424
UpdateSettings(data,
pageSettings
, printerSettings); // yes, printerSettings, not printer