To Insert Expressions Into Label Styles as Values

You can insert expressions as values to modify components in the Label Style Composer.

  1. In Toolspace, on the Settings tab, expand a label style collection. For example, expand PlotLabel StylesLine.
  2. Right-click Line and click Edit.
  3. In the Label Style Composer dialog box, click the Layout tab and click a component modifier to access a drop-down list of compatible expressions. You can also type in a new value.
  4. Click OK.
    Note: When inserting expressions as values for text, line, block or tick components, any non-number, or "double" type property cannot be used and will not appear in the drop-down list. Height, length, or size modifiers must be absolute numbers, so that the property is converted to an absolute value. For example, if the entered value for text height is zero, the default height from drawing label style defaults will be used.

    The tables below list the Label Style Composer component modifiers that support expressions.

    Text Components
    Text Height
    Rotation Angle
    X Offset
    Y Offset
    Line Components
    Length
    Angle
    Start Point X Offset
    Start Point Y Offset
    End Point X Offset
    End Point Y Offset
    Block Component
    Block Height
    Rotation Angle
    X Offset
    Y Offset
    Tick Components
    Block Height
    Rotation Angle