Nevron .NET Vision
Nevron.Diagram Namespace / NBoxPrimitive Class / ComputeNewBounds Method
new model bounds


In This Topic
    ComputeNewBounds Method (NBoxPrimitive)
    In This Topic
    Computes new scene bounds based on expected model bounds change
    Syntax
    'Declaration
     
    
    Protected Overridable Function ComputeNewBounds( _
       ByVal modelBounds As NRectangleF _
    ) As NRectangleF
    'Usage
     
    
    Dim instance As NBoxPrimitive
    Dim modelBounds As NRectangleF
    Dim value As NRectangleF
     
    value = instance.ComputeNewBounds(modelBounds)
    protected virtual NRectangleF ComputeNewBounds( 
       NRectangleF modelBounds
    )

    Parameters

    modelBounds
    new model bounds

    Return Value

    new scene bounds
    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