ASP.NET Pack Programmer's Guide
Factory.CreateShapeNode Method (PointF, SizeF)
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
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public ShapeNode CreateShapeNode (
    PointF location,
    SizeF size
)

Visual Basic  Copy Code

Public Function CreateShapeNode( _
    location As PointF, _
    size As SizeF _
) 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. For further customization of the node, use the properties and methods of the ShapeNode class.

 See Also

CreateShapeNode Method Overload List
Factory Members
Factory Class
MindFusion.Diagramming Namespace
CreateDiagramLink Method
CreateTableNode Method
Diagram.Nodes Property
Diagram.AlignPointToGrid Method