ArcObjects Library Reference (DefenseSolutions)  

ICachedGraphicSelection Interface

Provides access to members that manage a set of selected cached graphics.

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

Members

Description
Method Add Adds a cached graphic to the set of currently selected graphics.
Method ClearSelection Removes all of the cached graphics from the set of currently selected graphics.
Method Selected The method returns the cached graphic found at a given index within the selection set.
Method SelectGraphics Uses a filter, selection geometry, and other characteristics to identify and add cached graphics to the selection set.
Read/write property SelectionColor Specifies a color to be used to visually denote cached graphics in the selection set.
Read-only property SelectionCount The method returns the number of cached graphics in the selection set.
Read/write property SelectionSymbol Specifies a symbol to be used to visually denote cached graphics in the selection set.
Read/write property UseSelectionSymbol Indicates whether the selection set should use its selection symbol rather than its selection color.

CoClasses that implement ICachedGraphicSelection

CoClasses and Classes Description
ForceElementLayer A custom layer, bound to a feature layer, that wraps a force element display list and makes it possible to view and manipulate its cached graphic contents in an ArcGIS map display.
TacticalGraphicLayer A custom layer, bound to a feature layer, that wraps a tactical graphic display list and makes it possible to view and manipulate its cached graphic contents in an ArcGIS map display.

Remarks

Cached graphics have different, more complex, display geometries then do the features that define them.  This interface provides methods and properties that make it possible to determine what has been selected and to change the composition and appearance of that selection.