GraphicsDpi.DpiToUnit(Single) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v20.2.dll

Declaration

public static GraphicsUnit DpiToUnit(
    float dpi
)
Public Shared Function DpiToUnit(
    dpi As Single
) As GraphicsUnit

Parameters

Name Type Description
dpi Single

A Single value.

Returns

Type Description
GraphicsUnit

A GraphicsUnit enumeration value.

See Also