GraphicsUnitConverter.PixelToDoc(Single) Method

Converts the floating-point value calculated in pixels to a value calculated in document units (measured in 1/300 of an inch).

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v20.2.dll

Declaration

public static float PixelToDoc(
    float val
)
Public Shared Function PixelToDoc(
    val As Single
) As Single

Parameters

Name Type Description
val Single

A Single value.

Returns

Type Description
Single

A Single value.

See Also