Override this method to calculate sizes of object on basis of its content, this method is called when width and height of object specified as auto.

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

Syntax

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

Parameters

width
Type: System..::..Double%
Width of area of contents of object, value must be specified in the "Document.ResolvedUnit" units.
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