Nevron.GraphicsCore Namespace / NRectangle Structure / ResizeRectangle Method


In This Topic
    ResizeRectangle Method (NRectangle)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function ResizeRectangle( _
       ByVal rect As NRectangle, _
       ByVal direction As CompassDirection, _
       ByVal dx As System.Integer, _
       ByVal dy As System.Integer, _
       ByVal canChangeAspectRatio As System.Boolean _
    ) As NRectangle
    'Usage
     
    
    Dim rect As NRectangle
    Dim direction As CompassDirection
    Dim dx As System.Integer
    Dim dy As System.Integer
    Dim canChangeAspectRatio As System.Boolean
    Dim value As NRectangle
     
    value = NRectangle.ResizeRectangle(rect, direction, dx, dy, canChangeAspectRatio)
    public static NRectangle ResizeRectangle( 
       NRectangle rect,
       CompassDirection direction,
       System.int dx,
       System.int dy,
       System.bool 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