Search
Factory.CreateShapeNode Method (Point, Size)
See Also
 






Creates a new ShapeNode instance at the specified position with the specified size and adds it to the Nodes collection of the underlying diagram.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public ShapeNode CreateShapeNode (
    Point location,
    Size size
)

Visual Basic  Copy Code

Public Function CreateShapeNode( _
    location As Point, _
    size As Size _
) As ShapeNode

 Parameters

location

The position of the new node.

size

The size of the new node.

 Return Value

The newly created ShapeNode instance.

 Remarks

The method creates a shape node at the position specified by location. The size of the node is set by size.

 See Also