Nevron Open Vision Documentation
Nevron.Nov.Windows.Forms Namespace / NNovChildWindowHost Class / GetPreferredSize Method


In This Topic
    GetPreferredSize Method (NNovChildWindowHost)
    In This Topic
    Syntax
    'Declaration
     
    
    <System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
    Public Overrides Function GetPreferredSize( _
       ByVal proposedSize As System.Drawing.Size _
    ) As System.Drawing.Size
    'Usage
     
    
    Dim instance As NNovChildWindowHost
    Dim proposedSize As System.Drawing.Size
    Dim value As System.Drawing.Size
     
    value = instance.GetPreferredSize(proposedSize)
    [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
    public override System.Drawing.Size GetPreferredSize( 
       System.Drawing.Size proposedSize
    )

    Parameters

    proposedSize
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also