Nevron.GraphicsCore Namespace / NRectangleF Structure / ResizeRectangle Method


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