C1553M-B (4/05) 175
Figure 206. New Label Properties Dialog Box
5. Text: Type up to three lines of text as the label contents. When you place the label on a map, this text will display in the label. Each line of
text can be at most 50 characters long and can include any letter, digit or special character, with the exception of single and double
quotation marks.
6. Text properties: Select the justification you want for the label’s text. All the lines of text will be justified the same. Click Font to select the
font for the label’s text, as well as display attributes like bold face and italics.
7. Background: Select the background you want for the label you are creating. A transparent background allows the underlying map to show
through. An opaque background makes the label appear as a colored rectangle. Click Select Color to choose the fill color for an opaque
label.
8. Border: Specify whether you want the label to have a border around it by selecting None or Single Line.
9. Click OK. The Properties dialog box closes.
10. Run script: If you want to associate a script with the label, type the script in the Run Script area.
If you want the script to run with a single click of the label, select Single-Click. If you want the script to run when the label is double-
clicked, select Double-Click.
Type the script actions directly into the Action column, or use the script wizard to help you write the script. For more information on writing
scripts, refer to Scripts and Expressions.
To test the script, save the server configuration, log in to the client, load the map the label is on, and click the label.
11. Click OK. The new label is created and the Add New Label dialog box closes. The name and script tag of the new label appear in the right
pane of the Object Browser.
PLACE A LABEL ON A MAP
1. Load the map you want to place the label on. The map appears in the map viewport.
2. Navigate the Object Browser to [project name] > Labels. In the right pane, click the label you want to place on the map and hold the mouse
button down. If you move the pointer slightly, it changes to cross-hairs.
3. Place: Drag the pointer to the map, position it where you want to place the label, and release the mouse button. The label appears on the
map and the pointer changes back to a pointer.
NOTE: You cannot change the orientation of a label. Labels are always oriented horizontally.