Spread Windows Forms 15.0
FarPoint.Win.Spread.Design Assembly / FarPoint.Win.Spread.Design Namespace / DesignerMain Class / GetPreferredSize Method


In This Topic
    GetPreferredSize Method (DesignerMain)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overridable Function GetPreferredSize( _
       ByVal proposedSize As Size _
    ) As Size
    'Usage
     
    
    Dim instance As DesignerMain
    Dim proposedSize As Size
    Dim value As Size
     
    value = instance.GetPreferredSize(proposedSize)
    public virtual Size GetPreferredSize( 
       Size proposedSize
    )

    Parameters

    proposedSize
    See Also