Adds a new label to this node.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public NodeLabel AddLabel ( |
Visual Basic Copy Code |
---|
Public Function AddLabel( _ |
The label's text.
A NodeLabel instance.
An item'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 SetCornerPosition. You can let users move labels interactively by setting the Behavior property of DiagramView to MoveLabels.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |