PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderLineFragment Class / CalcLengthRef Method
Dimension to calculate.
LengthRef object defining a value of dimension.
Indicates that the custom object dimension is resolved, coordinate of point for RenderLine, width of column for RenderTable etc.
Contains PageAreaBase object referenced by LengthRef on exit.
Contains value of coordinate or size on exit.

In This Topic
    CalcLengthRef Method (RenderLineFragment)
    In This Topic
    Calculates a value of dimension specified by the LengthRef object. (dimension references a dimension of another object).
    Syntax
    'Declaration
     
    Protected Overridable Sub CalcLengthRef( _
       ByVal dim As RefDim, _
       ByVal length As LengthRef, _
       ByVal customObjectDimension As Boolean, _
       ByRef pageArea As PageAreaBase, _
       ByRef value As Double _
    ) 
    protected virtual void CalcLengthRef( 
       RefDim dim,
       LengthRef length,
       bool customObjectDimension,
       out PageAreaBase pageArea,
       out double value
    )

    Parameters

    dim
    Dimension to calculate.
    length
    LengthRef object defining a value of dimension.
    customObjectDimension
    Indicates that the custom object dimension is resolved, coordinate of point for RenderLine, width of column for RenderTable etc.
    pageArea
    Contains PageAreaBase object referenced by LengthRef on exit.
    value
    Contains value of coordinate or size on exit.
    See Also