Nevron Open Vision Documentation
Nevron.Nov.Diagram.Shapes Namespace / NShapeFactory Class / CreateShape Method
shape index


In This Topic
    CreateShape Method (NShapeFactory)
    In This Topic
    Creates a new instance of the shape at the specified index.
    Syntax
    'Declaration
     
    
    Public MustOverride Function CreateShape( _
       ByVal index As System.Integer _
    ) As NShape
    'Usage
     
    
    Dim instance As NShapeFactory
    Dim index As System.Integer
    Dim value As NShape
     
    value = instance.CreateShape(index)
    public abstract NShape CreateShape( 
       System.int index
    )

    Parameters

    index
    shape index

    Return Value

    new shape instance
    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