Skip to main content

GraphicsUnitConverter.Convert Method

Name Parameters Description
Convert(MarginsF, GraphicsUnit, GraphicsUnit) static val, fromUnit, toUnit Adjusts the document margins calculated for the specified unit of measure according to a new unit of measure.
Convert(MarginsF, Single, Single) static val, fromDpi, toDpi Adjusts the document margins calculated for the specified DPI according to a new DPI.
Convert(RectangleDF, GraphicsUnit, GraphicsUnit) static val, fromUnit, toUnit Adjusts the location and size of a rectangle calculated for the specified unit of measure according to a new unit of measure.
Convert(RectangleDF, Single, Single) static val, fromDpi, toDpi Adjusts the location and size of a rectangle calculated for the specified DPI according to a new DPI.
Convert(Point, GraphicsUnit, GraphicsUnit) static val, fromUnit, toUnit Adjusts the coordinates of a point calculated for the specified unit of measure according to a new unit of measure.
Convert(Point, Single, Single) static val, fromDpi, toDpi Adjusts the coordinates of a point calculated for the specified DPI according to a new DPI.
Convert(PointF, GraphicsUnit, GraphicsUnit) static val, fromUnit, toUnit Adjusts the coordinates of a point calculated for the specified unit of measure according to a new unit of measure.
Convert(PointF, Single, Single) static val, fromDpi, toDpi Adjusts the coordinates of a point calculated for the specified DPI according to a new DPI.
Convert(Margins, Single, Single) static val, fromDpi, toDpi Adjusts the document margins calculated for the specified DPI according to a new DPI.
Convert(Rectangle, GraphicsUnit, GraphicsUnit) static val, fromUnit, toUnit Adjusts the location and size of a rectangle calculated for the specified unit of measure according to a new unit of measure.
Convert(Rectangle, Single, Single) static val, fromDpi, toDpi Adjusts the location and size of a rectangle calculated for the specified DPI according to a new DPI.
Convert(RectangleF, GraphicsUnit, GraphicsUnit) static val, fromUnit, toUnit Adjusts the location and size of a rectangle calculated for the specified unit of measure according to a new unit of measure.
Convert(RectangleF, Single, Single) static val, fromDpi, toDpi Adjusts the location and size of a rectangle calculated for the specified DPI according to a new DPI.
Convert(Size, GraphicsUnit, GraphicsUnit) static val, fromUnit, toUnit Adjusts the size calculated for the specified unit of measure according to a new unit of measure.
Convert(Size, Single, Single) static val, fromDpi, toDpi Adjusts the size calculated for the specified DPI according to a new DPI.
Convert(SizeF, GraphicsUnit, GraphicsUnit) static val, fromUnit, toUnit Adjusts the size calculated for the specified unit of measure according to a new unit of measure.
Convert(SizeF, Single, Single) static val, fromDpi, toDpi Adjusts the size calculated for the specified DPI according to a new DPI.
Convert(Int32, Single, Single) static val, fromDpi, toDpi Adjusts the integer value calculated for the specified DPI according to a new DPI.
Convert(Single, GraphicsUnit, GraphicsUnit) static val, fromUnit, toUnit Adjusts the floating-point value calculated for the specified unit of measure according to a new unit of measure.
Convert(Single, Single, Single) static val, fromDpi, toDpi Adjusts the floating-point value calculated for the specified DPI according to a new DPI.