ArcObjects Library Reference (DefenseSolutions)  

ICachedGraphic2 Interface

Provides access to members common to all cached graphic objects.

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

Members

Description
Read/write property Angle The angle of the graphic, expressed in radians, where 0 is horizontal.
Read-only property AttributeLabels Holds a set of attribute labels that are specific to a particular graphic.
Method Draw Draw the graphic to the specified IDisplay. The client is responsible for calling StartDrawing and FinishDrawing on the IDisplay.
Read/write property Geometry The core geometry that defines the location and/or basic shape of the graphic.
Method Highlight Highlights the graphic or its extent using the specified symbology, on the specified IDisplay. The client is responsible for calling StartDrawing and FinishDrawing on the IDisplay.
Method HitTest Determines if the specified location hits the graphic.
Read-only property IsDirty Indicates whether the graphic needs to be refreshed. Examined each time the graphic is drawn.
Read-only property IsValid Indicates if the graphic is well behaved.
Write-only property IsVisible Indicates whether the graphic is visible.
Read-only property Name The method returns the unique, system derived, name for a graphic.
Method QueryBounds Populates the passed in envelope with the extents of the graphic.
Method QueryEnvelope Populates the passed in envelope with the extents of the graphic.
Method Refresh Rebuilds the graphic based on its underlying attributes.
Read/write property Size The size/height of the graphic, expressed in geometry (not display) units.

Inherited Interfaces

Interfaces Description
ICachedGraphic Provides access to members common to all cached graphic objects.

CoClasses that implement ICachedGraphic2

CoClasses and Classes Description
FEGraphic A cached graphic that symbolizes a point based military object (feature or force element).
TacticalGraphic A cached graphic that symbolizes a point, line, or polygon based tactical military object (feature or tactical element).

Remarks

This interface was added at MOLE 9.2 and differs from its sister ICachedGraphic interface by adding an IsVisible property.