Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NBoundsHandle Class / ComputeNewBounds Method
x change
y change
original bounds
whether the bounds aspect ratio can be broken


In This Topic
    ComputeNewBounds Method (NBoundsHandle)
    In This Topic
    Computes new bounds for an expected change of this handle
    Syntax
    'Declaration
     
    
    Public Overridable Function ComputeNewBounds( _
       ByVal xChange As System.Single, _
       ByVal yChange As System.Single, _
       ByVal originalBounds As NRectangleF, _
       ByVal canChangeAspectRatio As System.Boolean _
    ) As NRectangleF
    'Usage
     
    
    Dim instance As NBoundsHandle
    Dim xChange As System.Single
    Dim yChange As System.Single
    Dim originalBounds As NRectangleF
    Dim canChangeAspectRatio As System.Boolean
    Dim value As NRectangleF
     
    value = instance.ComputeNewBounds(xChange, yChange, originalBounds, canChangeAspectRatio)
    public virtual NRectangleF ComputeNewBounds( 
       System.float xChange,
       System.float yChange,
       NRectangleF originalBounds,
       System.bool canChangeAspectRatio
    )

    Parameters

    xChange
    x change
    yChange
    y change
    originalBounds
    original bounds
    canChangeAspectRatio
    whether the bounds aspect ratio can be broken

    Return Value

    new 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