Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NView Class / ComputeWindowSize Method
whether to include the horizontal scroll bar
whether to include the vertical scroll bar


In This Topic
    ComputeWindowSize Method
    In This Topic
    Computes the window size based on the specified scrollbars visibility
    Syntax
    'Declaration
     
    
    Protected Overridable Function ComputeWindowSize( _
       ByVal includeHorzScroller As System.Boolean, _
       ByVal includeVertScroller As System.Boolean _
    ) As NSizeF
    'Usage
     
    
    Dim instance As NView
    Dim includeHorzScroller As System.Boolean
    Dim includeVertScroller As System.Boolean
    Dim value As NSizeF
     
    value = instance.ComputeWindowSize(includeHorzScroller, includeVertScroller)
    protected virtual NSizeF ComputeWindowSize( 
       System.bool includeHorzScroller,
       System.bool includeVertScroller
    )

    Parameters

    includeHorzScroller
    whether to include the horizontal scroll bar
    includeVertScroller
    whether to include the vertical scroll bar

    Return Value

    size of the window
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also