2 writes to paperSize
System.Drawing (2)
commonui\System\Drawing\Printing\PageSettings.cs (2)
193
set {
paperSize
= value;}
570
paperSize
= PaperSizeFromMode(mode);
9 references to paperSize
System.Drawing (9)
commonui\System\Drawing\Printing\PageSettings.cs (9)
346
if (
paperSize
!= null) {
350
mode.dmPaperSize = unchecked((short)
paperSize
.RawKind);
360
int length = PrinterUnitConvert.Convert(
paperSize
.Height, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter);
366
int width = PrinterUnitConvert.Convert(
paperSize
.Width, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter);
371
if (
paperSize
.Kind == PaperKind.Custom)
376
int length = PrinterUnitConvert.Convert(
paperSize
.Height, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter);
382
int width = PrinterUnitConvert.Convert(
paperSize
.Width, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter);
466
if (
paperSize
== null) {
486
return
paperSize
;