[]
Calculates a value of dimension. Only LengthRef, LengthAbs, LengthExp can be specified as length.
protected virtual void CalcLength(RefDim dim, LengthBase length, bool customObjectDimension, out PageAreaBase pageArea, out double value)
Protected Overridable Sub CalcLength([dim] As RefDim, length As LengthBase, customObjectDimension As Boolean, ByRef pageArea As PageAreaBase, ByRef value As Double)
| Type | Name | Description |
|---|---|---|
| RefDim | dim | Dimension to calculate. |
| LengthBase | length | Value of dimension, can be LengthAbs, LengthRef or LengthExp. |
| 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 on exit or nul if coordinate is relative. |
| double | value | Contains value of coordinate or size on exit. |
This method can be called only by another RenderFragment object during resolving LengthRef object.
protected virtual void CalcLength(RefDim dim)
Protected Overridable Sub CalcLength([dim] As RefDim)
| Type | Name | Description |
|---|---|---|
| RefDim | dim | Dimension which must be resolved. |