Using an Expression to Create Abbreviations for Labels - MapInfo_Pro - 2023

MapInfo Pro Help

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
2023
ft:locale
en-US
Product name
MapInfo Pro
ft:title
MapInfo Pro Help
First publish date
1985
ft:lastEdition
2023-09-12
ft:lastPublication
2023-09-12T16:39:16.995000

You can choose to abbreviate labels with an expression. This is useful if your table does not contain a column containing abbreviated text.

To create an expression for label abbreviations:

  1. Double-click the layer name in the Explorer window.
  2. From the Label Display tab in the Layer Properties dialog box, select the Allow abbreviated labels check box.
  3. Alternatively, from the Label Content group on the LABELS tab, check the box near the Abbreviate with: drop-down list.
  4. Click the Expression button on the Layer Properties dialog, or click Expression from the Abbreviate with drop-down list on the LABELS tab. From either location, the Expression dialog box opens. Create an expression with abbreviated text. The following expression uses the first three letters of a label.
    Left$(columnname, 3)
  5. Click OK to save the changes.

The map refreshes with this change. (Depending on how densely labeled your map is, you might not see any abbreviated labels. Abbreviated labels only appear when there is not enough room to display an ordinary label.)

For more information about creating expressions, see Labeling with Expressions.