Search
DiagramLink.AddLabel Method (LinkLabel)
See Also
 





Adds the specified label to this link.

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

 Syntax

C#  Copy Code

public void AddLabel (
    LinkLabel label
)

Visual Basic  Copy Code

Public Sub AddLabel( _
    label As LinkLabel _
)

 Parameters

label

A LinkLabel instance.

 Remarks

A link's main text content is specified via its Text property. Call AddLabel if you need to display additional text labels, such as identifiers or hints to the user.

Position of labels can be specified by calling methods such as SetControlPointPosition. You can let users move labels interactively by setting the Behavior property of Diagram to MoveLabels.

 See Also