Expressions are listed in the Properties list of the Text Component Editor. You can insert them into label styles like any other property.
- Set up an expression for a label style type.
- Open an existing label style in the Label Style Composer or create a new label style. The type of this label style must match the type of the expression you created.
For example, if you created an expression for a parcel line, you can only add that expression to a parcel line label style.
- In the Label Style Composer dialog box, click the Layout tab and select or create a text, line, tick, or block component to which you want to add the expression.
- Under Text, click the Value column for Contents click
- In the Text Component Editor, on the Properties tab, click the Down arrow on the Properties list.
This list contains a set of properties and expressions applicable to each label style type.
- Select the expression and click . This inserts the expression into the Text Component Editor window.
- Add any descriptive label text before or after the expression as needed. For example, add descriptive information about the expression, such as units, that will distinguish it in the label.
Important: Expressions have the same editing restrictions as property fields. If you alter anything about the expression, such as using the context menu to change capitalization, the expression will not function correctly.
- Click OK to close the Text Component Editor and the Label Style Composer dialog boxes.
Tutorial Exercise: Inserting an Expression into a Label Style