Nevron.GraphicsCore Namespace / NRectangleD Structure / ResizeRectangle Method


ResizeRectangle Method (NRectangleD)
Syntax
'Declaration
 
Public Shared Function ResizeRectangle( _
   ByVal rect As NRectangleD, _
   ByVal direction As CompassDirection, _
   ByVal dx As System.Double, _
   ByVal dy As System.Double, _
   ByVal canChangeAspectRatio As System.Boolean _
) As NRectangleD
 
'Usage
 
Dim rect As NRectangleD
Dim direction As CompassDirection
Dim dx As System.Double
Dim dy As System.Double
Dim canChangeAspectRatio As System.Boolean
Dim value As NRectangleD
 
value = NRectangleD.ResizeRectangle(rect, direction, dx, dy, canChangeAspectRatio)

Parameters

rect
direction
dx
dy
canChangeAspectRatio
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