Converts an absolute length represented by a
LengthAbs object to a
double value expressed in the current document's
C1PrintDocument.ResolvedUnit units.
'Declaration
Public Overloads Function GetLengthAbsValue( _
ByVal As LengthAbs, _
ByVal As Style, _
ByVal As IScriptContext _
) As Double
public double GetLengthAbsValue(
LengthAbs ,
Style ,
IScriptContext
)
Parameters
- length
- The length to convert. If it is expressed in UnitTypeEnum.Default, the current document's C1PrintDocument.DefaultUnit units are used.
- style
- The C1PrintDocument.Style providing the font, required if is expressed in UnitTypeEnum.Em, UnitTypeEnum.Ex or UnitTypeEnum.LineSpacing (otherwise, it can be null).
- context
- C1.C1Preview.Scripting.IScriptContext that should be used to get calculated properties.
Return Value
The converted double value.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2