Represents a shape with associated symbology that can be added to a map.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: (


public sealed class Graphic
Visual Basic (Declaration)
Public NotInheritable Class Graphic


The Graphic class pairs together a Geometry with a Symbol; the two elements required to represent a shape on the map. A Graphic will always be drawn on top of all other items contained by a map, including Layers. When creating a Graphic, the symbol type specified should correspond to the geometry type of the Graphic:

Geometry TypeSymbol Type
PointMarker symbol, Default: Orange Stickpin
PolylineLine symbol, Default: Red Solid Line
PolygonFill symbol, Default: Red Solid Fill

You cannot create a Graphic using the following geometry types: Multipoint, Multipatch, and Envelope.

A Graphic can be temporary, or applied to a Note MapItem:

  • You can add a Graphic to the MapDisplay.Graphics collection. A Graphic added in this way is temporary: it is not persisted to a map file (.nmf) when the map is saved.
  • Alternatively, you can create a Note using a Graphic. A Note is a MapItem, and therefore it can be added to the Map.ChildItems collection. The contents of Map.ChildItems are persisted to a map file (.nmf) when the map is saved.

Inheritance Hierarchy



See Also