Returns the preffered size of the control in pixels.

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

Syntax

C#
public override void GetAutoSize(
	IScriptContext context,
	ref int width,
	ref int height
)
Visual Basic
Public Overrides Sub GetAutoSize ( _
	context As IScriptContext, _
	ByRef width As Integer, _
	ByRef height As Integer _
)

Parameters

context
Type: IScriptContext
Context that should be used to get calculated style properties.
width
Type: System..::..Int32%
OUT: Width of the control.
height
Type: System..::..Int32%
OUT: Height of the control.

See Also