16 references to Convert
System.Drawing (16)
commonui\System\Drawing\Printing\PageSettings.cs (6)
360
int length = PrinterUnitConvert.
Convert
(paperSize.Height, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter);
366
int width = PrinterUnitConvert.
Convert
(paperSize.Width, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter);
376
int length = PrinterUnitConvert.
Convert
(paperSize.Height, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter);
382
int width = PrinterUnitConvert.
Convert
(paperSize.Width, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter);
500
PrinterUnitConvert.
Convert
(mode.dmPaperWidth, PrinterUnit.TenthsOfAMillimeter, PrinterUnit.Display),
501
PrinterUnitConvert.
Convert
(mode.dmPaperLength, PrinterUnit.TenthsOfAMillimeter, PrinterUnit.Display));
commonui\System\Drawing\Printing\PrinterSettings.cs (2)
1212
PrinterUnitConvert.
Convert
(width, PrinterUnit.TenthsOfAMillimeter, PrinterUnit.Display),
1213
PrinterUnitConvert.
Convert
(height, PrinterUnit.TenthsOfAMillimeter, PrinterUnit.Display));
commonui\System\Drawing\Printing\PrinterUnitConvert.cs (8)
57
Convert
(value.X, fromUnit, toUnit),
58
Convert
(value.Y, fromUnit, toUnit)
70
Convert
(value.Width, fromUnit, toUnit),
71
Convert
(value.Height, fromUnit, toUnit)
83
Convert
(value.X, fromUnit, toUnit),
84
Convert
(value.Y, fromUnit, toUnit),
85
Convert
(value.Width, fromUnit, toUnit),
86
Convert
(value.Height, fromUnit, toUnit)