Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.UI Namespace / UIHelper Class / GetDefaultSize Method / GetDefaultSize(FormControl,WorksheetDrawing) Method
Target form control type.
Target worksheet drawing.


In This Topic
    GetDefaultSize(FormControl,WorksheetDrawing) Method
    In This Topic
    Get default size for specified form control type.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetDefaultSize( _
       ByVal type As FormControl, _
       ByVal drawing As WorksheetDrawing _
    ) As Size
    'Usage
     
    
    Dim type As FormControl
    Dim drawing As WorksheetDrawing
    Dim value As Size
     
    value = UIHelper.GetDefaultSize(type, drawing)
    public static Size GetDefaultSize( 
       FormControl type,
       WorksheetDrawing drawing
    )

    Parameters

    type
    Target form control type.
    drawing
    Target worksheet drawing.
    See Also