Skip to main content
All docs
V25.1
  • DXGraphicsUnitConverter.Convert Method

    Name Parameters Description
    Convert(DXMargins, Single, Single) static margins, fromDpi, toDpi
    Convert(PointF, DXGraphicsUnit, DXGraphicsUnit) static point, fromUnit, toUnit
    Convert(PointF, Single, Single) static point, fromDpi, toDpi
    Convert(RectangleF, DXGraphicsUnit, DXGraphicsUnit) static rect, fromUnit, toUnit
    Convert(RectangleF, Single, Single) static rect, 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.