Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / RenderInputButtonBase Class / GetAutoSize Method
Context that should be used to get calculated style properties.
OUT: Width of the control.
OUT: Height of the control.

In This Topic
    GetAutoSize Method (RenderInputButtonBase)
    In This Topic
    Returns the preffered size of the input control in pixels.
    Syntax
    'Declaration
     
    Public MustOverride Sub GetAutoSize( _
       ByVal context As IScriptContext, _
       ByRef width As Integer, _
       ByRef height As Integer _
    ) 
    public abstract void GetAutoSize( 
       IScriptContext context,
       ref int width,
       ref int height
    )

    Parameters

    context
    Context that should be used to get calculated style properties.
    width
    OUT: Width of the control.
    height
    OUT: Height of the control.
    See Also