Nevron.Diagram.WinForm Namespace / NBoundsHandle Class / ComputeNewScale Method


In This Topic
    ComputeNewScale Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overridable Sub ComputeNewScale( _
       ByVal xChange As System.Single, _
       ByVal yChange As System.Single, _
       ByVal originalBounds As NRectangleF, _
       ByVal canChangeAspectRatio As System.Boolean, _
       ByRef scaleX As System.Single, _
       ByRef scaleY As System.Single _
    ) 
    '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 scaleX As System.Single
    Dim scaleY As System.Single
     
    instance.ComputeNewScale(xChange, yChange, originalBounds, canChangeAspectRatio, scaleX, scaleY)
    public virtual void ComputeNewScale( 
       System.float xChange,
       System.float yChange,
       NRectangleF originalBounds,
       System.bool canChangeAspectRatio,
       out System.float scaleX,
       out System.float scaleY
    )

    Parameters

    xChange
    yChange
    originalBounds
    canChangeAspectRatio
    scaleX
    scaleY
    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