Skip to main content

GraphicsDpi.DpiToUnit(Single) Method

Converts the specified DPI value to a corresponding unit of measure.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public static GraphicsUnit DpiToUnit(
    float dpi
)

Parameters

Name Type Description
dpi Single

A Single value.

Returns

Type Description
GraphicsUnit

A GraphicsUnit enumeration value.

See Also