Skip to main content
All docs
V23.2

DXGraphicsUnitConverter.Convert Method

Name Parameters Description
Convert(DXMargins, Single, Single) static margins, fromDpi, toDpi
Convert(Size, Single, Single) static size, fromDpi, toDpi
Convert(SizeF, DXGraphicsUnit, DXGraphicsUnit) static size, fromUnit, toUnit Adjusts the document margins calculated for the specified unit of measure according to a new unit of measure.
Convert(SizeF, Single, Single) static size, fromDpi, toDpi Adjusts the document margins 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, DXGraphicsUnit, DXGraphicsUnit) static val, fromUnit, toUnit Adjusts the document margins calculated for the specified unit of measure according to a new unit of measure.
Convert(Single, Single, Single) static val, fromDpi, toDpi Adjusts the float value calculated for the specified DPI according to a new DPI.