MindFusion.Wpf Pack Programmer's Guide
Factory.CreateDiagramLink Method (Point, Point)
See Also
 





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

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public DiagramLink CreateDiagramLink (
    Point origin,
    Point destination
)

Visual Basic  Copy Code

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

 Parameters

origin

The origin point.

destination

The destination point.

 Return Value

The newly created DiagramLink instance.

 Remarks

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

 See Also

CreateDiagramLink Method Overload List
Factory Members
Factory Class
MindFusion.Diagramming.Wpf Namespace
CreateTableNode Method
CreateShapeNode Method
Diagram.Links Property