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

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

Syntax

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

Parameters

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

See Also