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.v20.1.Core.dll

Declaration

public float UnitValueOf(
    float val
)
Public Function UnitValueOf(
    val As Single
) As Single

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