Search
Factory.CreateMapNode Method (RectangleF, MapContent)
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public MapNode CreateMapNode (
    RectangleF bounds,
    MapContent content
)

Visual Basic  Copy Code

Public Function CreateMapNode( _
    bounds As RectangleF, _
    content As MapContent _
) As MapNode

 Parameters

bounds

The bounding rectangle of the new node.

content

The content of the new node.

 Return Value

The newly created MapNode instance.

 Remarks

The method creates a MapNode with dimensions specified by bounds.

 See Also