Modify frame properties


Purpose This sample demonstrates how to use the Symbology control to modify a frame's properties. This sample uses the Symbology control in conjunction with the PageLayout control, the Toolbar control, and the controls commands.
 
A combo box is populated with background, border, and shadow items. Clicking an item that's displayed in the Symbology control determines whether the item implements IBackground, IBorder, or IShadow; and the Background, Border, or Shadow property (respectively) is set. The frame properties of the MapFrame containing the FocusMap are updated.

How to use

See How to use ArcGIS samples for help running the sample.

  1. Start the sample application. The frame is loaded with the PageLayout, TOC, and Toolbar controls, as well as a combo box populated with background, border, and shadow items.
  2. Click Open to load a map document into the PageLayout control.
  3. Select a background, border, or shadow from the combo box. The available symbols are shown in the right panel.
  4. Select a background, border, or shadow symbol. The selected symbol is applied to the frame.





Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView
ArcEditor
ArcInfo