Search
Factory.CreateSvgNode Method (Rect, SvgContent)
See Also
 





Creates a new SvgNode instance with the specified dimensions and adds it to the Nodes collection of the underlying diagram.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public SvgNode CreateSvgNode (
    Rect bounds,
    SvgContent content
)

Visual Basic  Copy Code

Public Function CreateSvgNode( _
    bounds As Rect, _
    content As SvgContent _
) As SvgNode

 Parameters

bounds

The bounding rectangle of the new node.

content

The content of the new node.

 Return Value

The newly created SvgNode instance.

 Remarks

The method creates an SVG node with dimensions specified by bounds.

 See Also