ArcGIS Explorer Component Help |
Graphic..::.Geometry Property |
Graphic Class See Also |
Gets or sets the Geometry used as the location and shape of the Graphic.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public Geometry Geometry { get; set; } |
Visual Basic (Declaration) |
---|
Public Property Geometry As Geometry |
Field Value
The geometry of the Graphic; cannot be an Envelope, Multipoint, or Multipatch.Remarks
A Graphic must have a Geometry, and that Geometry cannot be nullNothingnullptra null reference (Nothing in Visual Basic); each Graphic constructor requires a Geometry to be specified.
The geometry of a Graphic may be of Type Point, Polyline, or Polygon; the geometry types Multipoint, Envelope and Multipatch are not supported as the geometry of a Graphic.
Exceptions
Exception | Condition |
---|---|
System..::.NullReferenceException | A Graphic cannot have a nullNothingnullptra null reference (Nothing in Visual Basic) Geometry. |
System..::.ArgumentException | A Graphic cannot have a Geometry which is an Envelope, Multipoint, or Multipatch. |