Gets the geometry of the latest shape that was completed in the current tracking session.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public Geometry Geometry { get; }
Visual Basic (Declaration)
Public ReadOnly Property Geometry As Geometry

Field Value

The geometry of the latest shape that was completed by the end user.

Remarks

When tracking a point or vector, this property will only be populated with a Geometry when the tracked point has been completed i.e. if TrackingInfo.Status equals TrackingStatus.Completed. Otherwise this property will return nullNothingnullptra null reference (Nothing in Visual Basic).

When tracking a polyline or polygon, this property will only be populated after the second point has been added. You will then be able to retrieve the current geometry when the TrackingInfo.Status equals TrackingStatus.MouseMoved, TrackingStatus.PointAdded or TrackingStatus.Completed.

In cases where TrackingInfo.Status equals TrackingStatus.Cancelled this property will return nullNothingnullptra null reference (Nothing in Visual Basic).

See Also