GraphicsUnitConverter.Convert(Point, Single, Single) Method

Adjusts the coordinates of a point calculated for the specified DPI according to a new DPI.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v20.2.dll

Declaration

public static Point Convert(
    Point val,
    float fromDpi,
    float toDpi
)
Public Shared Function Convert(
    val As Point,
    fromDpi As Single,
    toDpi As Single
) As Point

Parameters

Name Type Description
val Point

A Point structure.

fromDpi Single

A Single value, specifying the initial DPI setting.

toDpi Single

A Single value, specifying the required DPI setting.

Returns

Type Description
Point

A Point structure.

See Also