ASP.NET Pack Programmer's Guide
Factory.CreateDiagramLink Method (TableNode, Int32, DiagramNode)
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public DiagramLink CreateDiagramLink (
    TableNode origin,
    int originRow,
    DiagramNode destination
)

Visual Basic  Copy Code

Public Function CreateDiagramLink( _
    origin As TableNode, _
    originRow As Integer, _
    destination As DiagramNode _
) As DiagramLink

 Parameters

origin
The origin node.
originRow

The zero-based index of the destination table row of the new link.

destination
The destination node.

 Return Value

The newly created DiagramLink instance.

 Remarks

The method creates a link connecting the table specified by origin and the node specified by 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 Namespace
CreateShapeNode Method
CreateTableNode Method
Diagram.Links Property