ArcObjects Library Reference (DefenseSolutions)  

IGraphicGroup Interface

Provides access to members that are common to groups of cached graphics (stacks and leaders).

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

Members

Description
Method Add Adds a cached graphic to the graphic group.
Method Clear Removes all cached graphics from the graphic group.
Read-only property Count The method returns the number of cached graphics currently in the graphic group.
Method DrawHull Explicitly draws a hull around the locations of the grouped graphics. The client is responsible for calling StartDrawing and FinishDrawing on the IDisplay.
Read/write property HullBufferDistance The buffer distance applied to hulls drawn around the locations of grouped graphics.
Read/write property HullSymbol The fill symbol used to draw a hull around the locations of the grouped graphics.
Read-only property Item The method returns the cached graphic at a specific index in the graphic group.
Method Remove Removes a cached graphic from the graphic group.
Read/write property ShouldDrawHull Indicates whether a hull should be drawn around the locations of the grouped graphics.

CoClasses that implement IGraphicGroup

CoClasses and Classes Description
GraphicLeader A collection of leaderable cached graphics, sorted and drawn using a variety of leader styles, designed to help declutter a display.
GraphicStack An ordered collection of stackable cached graphics, drawn to resemble a stack of cards.

Remarks

Cached graphics can be grouped together in stacks and leaders.  These kinds of graphic groups share a number of characteristics and are normally used to both declutter a display and/or show certain relationships between military objects.