Nevron Open Vision Documentation
Nevron.Nov.Diagram.Shapes Namespace / NShapeFactory Class / Init2DShape Method / Init2DShape(NShape,NColor,NGeometryCommand,Int32,Boolean,Boolean) Method


In This Topic
    Init2DShape(NShape,NColor,NGeometryCommand,Int32,Boolean,Boolean) Method
    In This Topic
    Initializes a 2D shape.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Init2DShape( _
       ByVal shape As NShape, _
       ByVal fillColor As NColor, _
       ByVal command As NGeometryCommand, _
       ByVal borderSize As System.Integer, _
       ByVal graphPart As System.Boolean, _
       ByVal routeThrough As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NShapeFactory
    Dim shape As NShape
    Dim fillColor As NColor
    Dim command As NGeometryCommand
    Dim borderSize As System.Integer
    Dim graphPart As System.Boolean
    Dim routeThrough As System.Boolean
     
    instance.Init2DShape(shape, fillColor, command, borderSize, graphPart, routeThrough)
    public void Init2DShape( 
       NShape shape,
       NColor fillColor,
       NGeometryCommand command,
       System.int borderSize,
       System.bool graphPart,
       System.bool routeThrough
    )

    Parameters

    shape
    fillColor
    command
    borderSize
    graphPart
    routeThrough
    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