Override this method to calculate the height of object on basis of its content, this method is called when height of object specified as auto, for example:
Copy CodeC#
obj.Height = Unit.Auto;

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

Syntax

C#
protected internal virtual void GetContentAutoHeight(
	double width,
	ref double height
)
Visual Basic
Protected Friend Overridable Sub GetContentAutoHeight ( _
	width As Double, _
	ByRef height As Double _
)

Parameters

width
Type: System..::..Double
Width of area of contents of object.
height
Type: System..::..Double%
Height of area of contents of object, value must be specified in the "Document.ResolvedUnit" units.

Return Value

Returns true if no error occurs.

See Also