[]
        
(Showing Draft Content)

C1.C1Preview.RenderFragment.CalcLengthRef

CalcLengthRef Method

CalcLengthRef(RefDim, LengthRef, bool, out PageAreaBase, out double)

Calculates a value of dimension specified by the LengthRef object. (dimension references a dimension of another object).

Declaration
protected virtual void CalcLengthRef(RefDim dim, LengthRef length, bool customObjectDimension, out PageAreaBase pageArea, out double value)
Parameters
Type Name Description
RefDim dim

Dimension to calculate.

LengthRef length

LengthRef object defining a value of dimension.

bool customObjectDimension

Indicates that the custom object dimension is resolved, coordinate of point for RenderLine, width of column for RenderTable etc.

PageAreaBase pageArea

Contains PageAreaBase object referenced by LengthRef on exit.

double value

Contains value of coordinate or size on exit.