Gets the desired (auto) size of the control.
Namespace:
C1.C1PreviewAssembly: 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: the width of the control.
- height
- Type: System..::..Int32%
OUT: the height of the control.