A newer version of this page is available.
Switch to the current version.
GraphicsUnitConverter.Convert(Point, GraphicsUnit, GraphicsUnit) Method
Adjusts the coordinates of a point calculated for the specified unit of measure according to a new unit of measure.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Data.v18.2.dll
Declaration
public static Point Convert(
Point val,
GraphicsUnit fromUnit,
GraphicsUnit toUnit
)
Public Shared Function Convert(
val As Point,
fromUnit As GraphicsUnit,
toUnit As GraphicsUnit
) As Point
Parameters
Name | Type | Description |
---|---|---|
val | Point | A Point structure. |
fromUnit | GraphicsUnit | A GraphicsUnit enumeration value, specifying the initial unit of measure. |
toUnit | GraphicsUnit | A GraphicsUnit enumeration value, specifying the required unit of measure. |
Returns
Type | Description |
---|---|
Point | A Point structure. |
See Also
Feedback