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.Wpf
Assembly: MindFusion.Diagramming.Wpf

 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 SvgNode with dimensions specified by bounds.

 See Also