Data frame rules

Data frame rules are a set of properties that define and share data frame settings. Settings include scale, extent, size, rotation, and coordinate system. Data frame rules are highly configurable and can be saved and reused.

You can apply data frame rules to any data frame in any map document. You can configure data frame rules for a single frame. You can also configure rules for multiple data frames. In this configuration, you share settings like scale, extent and size across multiple data frames. This allows you to enforce rules from base map data frames to inset map data frames.

You can save data frame rules to an XML file and reuse or distribute them based on your organization's specifications. You can load and save them into a product library to automate data frame settings.

Data Frame Rules Workflow

Working with data frame rules entails two steps:

  1. Define data frame rules using the Data Frame Rules dialog box.
  2. Apply rules to a data frame using the Apply Data Frame Rules dialog box.

You access the Apply Data Frame Rules dialog box from the Layout window. You access the Data Frame Rules dialog box from the Apply Data Frame Rules dialog box.

The Apply Data Frame Rules dialog box

You use the Apply Data Frame Rules dialog box to manage the data frame rules environment. This dialog box allows you to set a source data frame and apply, clear, save and open data frame rules.

The Apply Data Frame Rules dialog box

The Source Data Frame

The source data frame allows you to read and inherit settings from another frame. You can set rules in a base map data frame and enforce them in inset map data frames. Source data frames only apply to documents with multiple data frames.

Data Frame operations

Data frame operations include applying, saving, clearing, and defining data frame rules, and opening XML rule files.

  • Applying data frame rules—Changes settings in the active data frame to those defined in an XML file or the Data Frame Rules dialog box.
  • Clearing data frame rules—Resets any established data frame rules to default settings. No changes are made to the active data frame.
  • Saving data frame rules—Saves rules to an XML file.
  • Opening a data frame rules file—Applies settings in the file to the Data Frame Rules dialog box, not to the active data frame.

You define data frame rules in the Data Frame Rules dialog box.

The Data Frame Rules dialog box

The Data Frame Rules dialog box can control and change several data frame settings. In this interface, you can define data frame rules and apply them to the active data frame. You are not required to apply rules to the active data frame. You can define a set of rules without changing the active data frame. Click OK on the Data Frame Rules dialog box to make any configured rules available to the Apply Data Frame Rules dialog box. Click Apply on the Data Frame Rules dialog box to apply any configured rules to the active data frame.

The Data Frame Rules dialog box

General tab

The General tab allows you to set the data frame's extent, scale, or size. You must set one of three options:

  • Allow Extent to vary—You specify the data frame's scale and size. When you apply data frame rules with this option, the active data frame's size and scale will change to the settings defined in the rules. This may cause the extent of the active data frame to change.
  • Allow Scale to vary—You specify the data frame's extent and size. When you apply data frame rules with this option, the active data frame's size and extent will change to the settings defined in the rules. This may cause the scale of the active data frame to change.
  • Allow Size to vary—You specify the data frame's extent and scale. When you apply data frame rules with this option, the data frame's scale and extent will change to the settings defined in the rules. This may cause the size of the active data frame to change.

Define Extent dialog box

If you set your data frames to Allow Size to vary or Allow Scale to vary, you must define an extent. If you have multiple data frames, you can set the active data frame's extent to match the source data frame's extent. You can also define it using one of the options on the Define Extent dialog box. This dialog box allows you to define extent from

  • The current visible extent
  • An extent of the outline of features
  • An extent of the outline of a selected graphic
  • A custom extent

Buffering Options dialog box

If you set your data frames to Allow Size to vary or Allow Scale to vary, you can define a buffer between the data frame and the extent. A buffer allows a data frame to extend to a larger area.

A positive buffer increases the extent size. For example, a 10% buffer would increase the extent size to 110% of its original size.

Rotation tab

The Rotation tab allows you to apply a specified rotation to the active data frame.

Coordinate System tab

The Coordinate System tab allows you to apply a coordinate system to the active data frame.


9/17/2010