2 writes to _paperSize
System.Drawing.Common (2)
System\Drawing\Printing\PageSettings.cs (2)
117set => _paperSize = value; 491_paperSize = PaperSizeFromMode(devmode);
9 references to _paperSize
System.Drawing.Common (9)
System\Drawing\Printing\PageSettings.cs (9)
243if (_paperSize is not null) 247devmode->dmPaperSize = (short)_paperSize.RawKind; 258int length = PrinterUnitConvert.Convert(_paperSize.Height, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter); 265int width = PrinterUnitConvert.Convert(_paperSize.Width, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter); 270if (_paperSize.Kind == PaperKind.Custom) 275int length = PrinterUnitConvert.Convert(_paperSize.Height, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter); 282int width = PrinterUnitConvert.Convert(_paperSize.Width, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter); 373if (_paperSize is not null) 375return _paperSize;