This document is archived and information here might be outdated.  Recommended version.


IGraphicTracker Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > EngineCore > ESRI.ArcGIS.EngineCore > Interfaces > IG > IGraphicTracker Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (EngineCore)  

IGraphicTracker Interface

Provides access to members that set the state of a Graphic Tracker object

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method Add Adds a new graphic from the given geometry and symbol. The returned Id should be used to manage the graphic.
Read-only property Count Indicates the number of graphics in the collection.
Method CreateSymbol Creates a Graphic Tracker symbol given a 2D and a 3D symbol.
Method CreateSymbolFromPath Creates a Graphic Tracker symbol given a path to a 2D symbol and a path to a 3D symbol.
Method Highlight Emphasizes the graphic.
Method HitTest Returns the ID of the first graphic touched by the input window coordinates.
Method Initialize Sets the Map or Globe that will be used to render the Graphic Tracker.
Method MoveTo Moves the given graphic to the location specified by the input map coordinates.
Method Remove Removes the graphic specified by the supplied ID.
Method RemoveAll Removes all graphics from the collection.
Method Replace Creates a new graphic which will replace the element specified by the given ID.
Method SetElevationMode Sets the elevation mode for the given graphic.
Method SetGeometry Sets a new geometry for the given graphic.
Method SetLabel Sets a label for the given graphic.
Method SetOrientationMode Sets the orientation mode for the given graphic.
Method SetPointOrientation Sets the orientation for the given point graphic. Note that the orientation will only be applied if the graphic has its orientation mode set to esriGTOrientationFixed.
Method SetPointSymbolSize Sets the symbol size for the given point graphic.
Method SetScaleMode Sets the scaling mode for the given graphic.
Method SetSymbol Sets a new symbol for the given graphic.
Method SetTextSymbol Sets the text symbol for the given graphic.
Method SetTransparency Sets the transparency for the given graphic.
Method SetVisible Sets the visibility for the given graphic.
Read/write property SuspendUpdate Disables automatic refreshing of the display until unsuspended or until the display is explicitly refreshed. Suspending automatic refresh is ideal before bulk updates.

CoClasses that implement IGraphicTracker

CoClasses and Classes Description
GraphicTracker A collection of Graphics that will be displayed on a Map or Globe

.NET Samples

GraphicTracker with the map (Code Files: GTMapForm) | RSS weather GraphicTracker (Code Files: RSSWeather)

.NET Related Topics

Using a GraphicTracker