Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NShape Class / SetWidth Method


In This Topic
    SetWidth Method
    In This Topic
    Sets the shape Width. If the shape is inside a group, this method updates the expression for shape Width. If the shape is inside a page, this method sets a constant value to the shape Width.
    Syntax
    'Declaration
     
    
    Public Sub SetWidth( _
       ByVal newWidth As System.Double _
    ) 
    'Usage
     
    
    Dim instance As NShape
    Dim newWidth As System.Double
     
    instance.SetWidth(newWidth)
    public void SetWidth( 
       System.double newWidth
    )

    Parameters

    newWidth
    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