GetLengthAbsValue(LengthAbs,Font) Method
In This Topic
Converts an absolute length represented by a
C1.C1Preview.LengthAbs object to a
double value expressed in the current document's
C1.C1Preview.C1PrintDocument.ResolvedUnit units.
Syntax
'Declaration
Public Overloads Function GetLengthAbsValue( _
ByVal As LengthAbs, _
ByVal As Font _
) As Double
public double GetLengthAbsValue(
LengthAbs ,
Font
)
Parameters
- length
- The length to convert. If it is expressed in C1.C1Preview.UnitTypeEnum.Default, the current document's C1.C1Preview.C1PrintDocument.DefaultUnit units are used.
- font
- The font to use if is expressed in C1.C1Preview.UnitTypeEnum.Em, C1.C1Preview.UnitTypeEnum.Ex or C1.C1Preview.UnitTypeEnum.LineSpacing (otherwise, it can be null).
Return Value
The converted double value.
See Also