Skip to main content

GraphicsUnitConverter.Convert(PointF, 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.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public static PointF Convert(
    PointF val,
    float fromDpi,
    float toDpi
)

Parameters

Name Type Description
val PointF

A PointF structure.

fromDpi Single

A Single value, specifying the initial DPI setting.

toDpi Single

A Single value, specifying the required DPI setting.

Returns

Type Description
PointF

A PointF structure.

See Also