Search
Factory.CreateDiagramLink Method (Point, DiagramNode)
See Also
 






Creates a new DiagramLink instance between the specified point and the specified node, and adds it to the Links collection of the underlying diagram.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public DiagramLink CreateDiagramLink (
    Point origin,
    DiagramNode destination
)

Visual Basic  Copy Code

Public Function CreateDiagramLink( _
    origin As Point, _
    destination As DiagramNode _
) As DiagramLink

 Parameters

origin

The origin point.

destination

The destination node.

 Return Value

The newly created DiagramLink instance.

 Remarks

The method creates a link connecting the point specified by origin and the node specified by destination.

 See Also