Search
Factory.CreateMapNode Method (PointF, SizeF, MapContent)
See Also
 





Creates a new MapNode 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 MapNode CreateMapNode (
    PointF location,
    SizeF size,
    MapContent content
)

Visual Basic  Copy Code

Public Function CreateMapNode( _
    location As PointF, _
    size As SizeF, _
    content As MapContent _
) As MapNode

 Parameters

location

The position of the new node.

size

The size of the new node.

content

The content of the new node.

 Return Value

The newly created MapNode instance.

 Remarks

The method creates a MapNode at the position specified by location. The size of the node is set by size.

 See Also