commonui\System\Drawing\Printing\PrinterUnitConvert.cs (5)
46return(int) Math.Round(Convert((double)value, fromUnit, toUnit));
99result.DoubleLeft = Convert(value.DoubleLeft, fromUnit, toUnit);
100result.DoubleRight = Convert(value.DoubleRight, fromUnit, toUnit);
101result.DoubleTop = Convert(value.DoubleTop, fromUnit, toUnit);
102result.DoubleBottom = Convert(value.DoubleBottom, fromUnit, toUnit);