Labels are special text components that are associated with symbol components and are positioned in relation to them. You can associate a label with a symbol so that it appears in a predefined place, such as centered below the symbol. You can also allow the user to drag the label with the mouse to position it.
Labels, like ports, are children of a symbol component. As such, when you move a symbol, its label moves with it. However, labels have unique capabilities. For example, the user can select and manipulate a label independently of the symbol.
If the label is set at a predefined place in relation to the symbol, it will have an orientation property. The orientation property tells the label to position itself at one of nine points around the symbol. You can also define how much distance there should be between a label and its symbol.
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.