PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderTextFragmentBase Class / CalcLengthAbs Method
Dimension to calculate.
LengthAbs object defining a value of dimension.
The custom object's dimension is resolved.
Contains PageAreaBase object referenced by LengthAbs on exit.
Contains value of coordinate or size on exit.

In This Topic
    CalcLengthAbs Method (RenderTextFragmentBase)
    In This Topic
    Calculates a value of dimension specified by LengthAbs.
    Syntax
    'Declaration
     
    Protected Overridable Sub CalcLengthAbs( _
       ByVal dim As RefDim, _
       ByVal length As LengthAbs, _
       ByVal customObjectDimension As Boolean, _
       ByRef pageArea As PageAreaBase, _
       ByRef value As Double _
    ) 
    protected virtual void CalcLengthAbs( 
       RefDim dim,
       LengthAbs length,
       bool customObjectDimension,
       out PageAreaBase pageArea,
       out double value
    )

    Parameters

    dim
    Dimension to calculate.
    length
    LengthAbs object defining a value of dimension.
    customObjectDimension
    The custom object's dimension is resolved.
    pageArea
    Contains PageAreaBase object referenced by LengthAbs on exit.
    value
    Contains value of coordinate or size on exit.
    See Also