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





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public DiagramLink CreateDiagramLink (
    DiagramNode origin,
    Point destination
)

Visual Basic  Copy Code

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

 Parameters

origin
The origin node.
destination
The destination point.

 Return Value

The newly created DiagramLink instance.

 Remarks

The method creates a link connecting the node specified by origin and the point specified by destination. For further customization of the link, use the properties and methods of the DiagramLink class.

 See Also