Calculates a value of dimension. Only LengthRef, LengthAbs, LengthExp can be specified as length.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
protected internal virtual void CalcLength(
	RefDim dim,
	LengthBase length,
	bool customObjectDimension,
	out PageAreaBase pageArea,
	out double value
)
Visual Basic
Protected Friend Overridable Sub CalcLength ( _
	dim As RefDim, _
	length As LengthBase, _
	customObjectDimension As Boolean, _
	<OutAttribute> ByRef pageArea As PageAreaBase, _
	<OutAttribute> ByRef value As Double _
)

Parameters

dim
Type: RefDim
Dimension to calculate.
length
Type: LengthBase
Value of dimension, can be LengthAbs, LengthRef or LengthExp.
customObjectDimension
Type: System..::..Boolean
Indicates that the custom object dimension is resolved, coordinate of point for RenderLine, width of column for RenderTable etc.
pageArea
Type: PageAreaBase%
Contains PageAreaBase object on exit or nul if coordinate is relative.
value
Type: System..::..Double%
Contains value of coordinate or size on exit.

See Also