PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / RenderInputText 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 (RenderInputText)
    In This Topic
    Returns the preffered size of the control in pixels.
    Syntax
    'Declaration
     
    Public Overrides Sub GetAutoSize( _
       ByVal context As IScriptContext, _
       ByRef width As Integer, _
       ByRef height As Integer _
    ) 
    public override 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