Nevron Open Vision Documentation
Nevron.Nov.Diagram.Shapes Namespace / NShapeFactory Class / SetShapeBoundsRectangle Method / SetShapeBoundsRectangle(NShape,Double,Double,Double,Double) Method


In This Topic
    SetShapeBoundsRectangle(NShape,Double,Double,Double,Double) Method
    In This Topic
    Sets shape bounds rectangle.
    Syntax
    'Declaration
     
    
    Protected Overloads Overridable Function SetShapeBoundsRectangle( _
       ByVal shape As NShape, _
       ByVal x As System.Double, _
       ByVal y As System.Double, _
       ByVal width As System.Double, _
       ByVal height As System.Double _
    ) As NRectangle
    'Usage
     
    
    Dim instance As NShapeFactory
    Dim shape As NShape
    Dim x As System.Double
    Dim y As System.Double
    Dim width As System.Double
    Dim height As System.Double
    Dim value As NRectangle
     
    value = instance.SetShapeBoundsRectangle(shape, x, y, width, height)
    protected virtual NRectangle SetShapeBoundsRectangle( 
       NShape shape,
       System.double x,
       System.double y,
       System.double width,
       System.double height
    )

    Parameters

    shape
    x
    y
    width
    height
    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