Share

Inserting Expressions into Label Styles as Properties

Product Documentation
Intermediate

Expressions are listed in the Properties list of the Text Component Editor. You can insert them into label styles like any other property.

Tutorial Exercise: Inserting an Expression into a Label Style

To insert an expression into a label style

  1. Set up an expression for a label style type.
  2. 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.

  3. 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. For more information, see Text.
  4. Under Text, click the Value column for Contents click
  5. 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.

  6. Select the expression and click . This inserts the expression into the Text Component Editor window.
  7. 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.
    Best Practice

    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.

  8. Click OK to close the Text Component Editor and the Label Style Composer dialog boxes.

Toolspace Context Menu

Settings tab: <drawing name> <object collection> Label Styles <label style type name> right-click <label style name> Edit

Dialog Box


Was this information helpful?