Skip to main content

BrickGraphics.UnitValueOf(Single) Method

Converts the value specified via a parameter to the value that uses the current measurement units.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public float UnitValueOf(
    float val
)

Parameters

Name Type Description
val Single

The value to convert.

Returns

Type Description
Single

The obtained value in current measurement units.

Remarks

This method converts a specific value to current measurement units defined via the BrickGraphics.PageUnit property value. The converted value is supplied in GraphicsUnit.Document measurement units.

See Also