Converts an absolute length represented by a LengthAbs object to a double value expressed in the current document's ResolvedUnit units.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public double GetLengthAbsValue(
	LengthAbs length,
	Font font
)
Visual Basic
Public Function GetLengthAbsValue ( _
	length As LengthAbs, _
	font As Font _
) As Double

Parameters

length
Type: LengthAbs
The length to convert. If it is expressed in Default, the current document's DefaultUnit units are used.
font
Type: System.Drawing..::..Font
The font to use if length is expressed in Em, Ex or LineSpacing (otherwise, it can be null).

Return Value

The converted double value.

See Also