Change the legend classification to single symbol for a theme in a project by editing the .apr file


Instructions provided show how to change the legend classification to single symbol for a theme in a project by editing the .apr file with a text editor.


  1. Open the .apr in a text editor such as WordPad or Notepad.

    Always make a backup before making any edits to an .apr file.

  2. Search for the name of the theme whose legend you wish to change.
  3. Locate the Legend legend and take note of its number. In this example it is 34.

    Name: "Sample.shp"
    Source: 16
    Flags: 0x07
    Legend: 34
    Threshold: 138
    View: 5
    GSet: 139
    LegEditScript: "View.EditLegend"
    TxPos: 140
    LabelField: 25

  4. Preform a search for Legend.#. In this example Legend.34 would return the following:

    SymType: 0x02
    LegType: 0x08
    ClassType: 0x03
    FieldNames: 35
    Symbols: 36
    Class: 113
    Class: 114
    Class: 115
    Class: 116
    Class: 117
    Class: 118
    Class: 119
    Class: 120
    Class: 121
    Class: 122
    Class: 123
    Class: 124
    Class: 125
    Class: 126
    Class: 127
    Class: 128
    Class: 129
    Class: 130
    Class: 131
    StdDevs: 1.00000000000000
    NullSym: 132
    NullValues: 136
    StatValues: 137
    Precision: -3

  5. Locate the LegType line and change its value. In this example, change 0x08 to 0x01.
  6. Save the file.
  7. Open the project and view with the theme.

    The Table of Contents will appear classified but the theme will be one color, symbol, and so forth.

  8. In the legend editor, change the classification to something other than single symbol.
  9. Click Apply.
  10. Change the classification back to single symbol.
  11. Click Apply.
  12. Save the project.

Article ID:000004120

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic