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 on 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.

If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.

symbologybean/ModifyFrameProperties.java Uses the Symbology control to change background, borders, and shadows of the page frame.




Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic
ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced