PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / RenderImageFragment Class / CalcLengthExp Method
Dimension to calculate.
LengthExp 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 on exit.
Contains value of coordinate or size on exit.

In This Topic
    CalcLengthExp Method (RenderImageFragment)
    In This Topic
    Calculates a value of dimension specified by the LengthExp object. (dimension is an expression).
    Syntax
    'Declaration
     
    Protected Overridable Sub CalcLengthExp( _
       ByVal dim As RefDim, _
       ByVal length As LengthExp, _
       ByVal customObjectDimension As Boolean, _
       ByRef pageArea As PageAreaBase, _
       ByRef value As Double _
    ) 
    protected virtual void CalcLengthExp( 
       RefDim dim,
       LengthExp length,
       bool customObjectDimension,
       out PageAreaBase pageArea,
       out double value
    )

    Parameters

    dim
    Dimension to calculate.
    length
    LengthExp 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 on exit.
    value
    Contains value of coordinate or size on exit.

    Return Value

    true if no error occurs, false otherwise.
    See Also