ASP.NET Pack Programmer's Guide
Factory.CreateSvgNode Method (Single, Single, Single, Single)
See Also
 





Creates a new SvgNode 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 SvgNode CreateSvgNode (
    float x,
    float y,
    float width,
    float height
)

Visual Basic  Copy Code

Public Function CreateSvgNode( _
    x As Single, _
    y As Single, _
    width As Single, _
    height As Single _
) As SvgNode

 Parameters

x

The x-coordinate of the upper-left corner of the new node.

y

The y-coordinate of the upper-left corner of the new node.

width

The width of the new node.

height

The height of the new node.

 Return Value

The newly created SvgNode instance.

 Remarks

The method creates an SVG node at the position specified by x and y. The size of the node is set by width and height.

 See Also

CreateSvgNode Method Overload List
Factory Members
Factory Class
MindFusion.Diagramming Namespace