9 references to PrinterUnitConvert
System.Drawing (1)
System.Drawing.cs (1)
126[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.PrinterUnitConvert))]
System.Drawing.Common.Tests (5)
System\Drawing\Printing\PrinterUnitConvertTests.cs (5)
53int converted = PrinterUnitConvert.Convert(100, fromUnit, toUnit); 76var converted = PrinterUnitConvert.Convert(new Point(100, 1000), fromUnit, toUnit); 99var converted = PrinterUnitConvert.Convert(new Rectangle(100, 1000, 100, 1000), fromUnit, toUnit); 122var converted = PrinterUnitConvert.Convert(new Size(100, 1000), fromUnit, toUnit); 145var converted = PrinterUnitConvert.Convert(new Margins(100, 1000, 100, 1000), fromUnit, toUnit);
System.Windows.Forms (3)
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
261pageSettings.Margins = PrinterUnitConvert.Convert(newMargins, fromUnit, PrinterUnit.Display); 304Margins margins = PrinterUnitConvert.Convert(MinMargins, PrinterUnit.Display, toUnit); 313Margins margins = PrinterUnitConvert.Convert(_pageSettings.Margins, PrinterUnit.Display, toUnit);