Search
DiagramNode.addLabel Method (NodeLabel)
See Also
 

Adds the specified label to this node.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void addLabel (
    NodeLabel label
)

 Parameters

label

A NodeLabel instance.

 Remarks

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.

 See Also