4 references to Convert
System.Drawing.Common.Tests (1)
System\Drawing\Printing\PrinterUnitConvertTests.cs (1)
145
var converted = PrinterUnitConvert.
Convert
(new Margins(100, 1000, 100, 1000), fromUnit, toUnit);
System.Windows.Forms (3)
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
261
pageSettings.Margins = PrinterUnitConvert.
Convert
(newMargins, fromUnit, PrinterUnit.Display);
304
Margins margins = PrinterUnitConvert.
Convert
(MinMargins, PrinterUnit.Display, toUnit);
313
Margins margins = PrinterUnitConvert.
Convert
(_pageSettings.Margins, PrinterUnit.Display, toUnit);