English

How To: Delete a theme from a project by editing the .apr file

Summary

This article shows how to delete a theme from a project by editing the .apr file with a text editor.

Procedure

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

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

  2. Search for the name of the theme you want to remove.
  3. Take note of the corresponding FTheme or ITheme number. In this example it is FTheme.10.

    Code:
    (FTheme.10
    Name: "Sample.shp"
    Source: 11
    Flags: 0x07
    Legend: 21
    Threshold: 40
    View: 41
    GSet: 407
    LegEditScript: "View.EditLegend"
    TxPos: 408
    LabelField: 16
    Table: 6
    SnapTolCursor: 1
    )

  4. Find all the views that contain this theme by searching for "Theme: #". In this example it is "Theme: 10".
  5. Remove the "Theme: #" line.
  6. Save the file.

Related Information