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