Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NShape Class / Resize Method / Resize(NPoint,ENCompassDirection,Boolean) Method


In This Topic
    Resize(NPoint,ENCompassDirection,Boolean) Method
    In This Topic
    Resizes the shape box by setting the specified value to the box point corresponding to a compass direction.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Resize( _
       ByVal point As NPoint, _
       ByVal direction As ENCompassDirection, _
       ByVal preserveAspectRatio As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NShape
    Dim point As NPoint
    Dim direction As ENCompassDirection
    Dim preserveAspectRatio As System.Boolean
     
    instance.Resize(point, direction, preserveAspectRatio)
    public void Resize( 
       NPoint point,
       ENCompassDirection direction,
       System.bool preserveAspectRatio
    )

    Parameters

    point
    direction
    preserveAspectRatio
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also