ArcGIS Explorer Component Help |
Polygon..::.ToString Method |
Polygon Class See Also |
Returns a string containing basic information about the Polygon.
Namespace:
ESRI.ArcGISExplorer.GeometryAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public override string ToString() |
Visual Basic (Declaration) |
---|
Public Overrides Function ToString As String |
Return Value
A string containing basic information about the Polygon.Remarks
This override of Object.ToString returns a string containing the number of rings and points in the Polygon. If this Polygon is an object which does not have any spatial location set (IsEmpty is trueTruetruetrue (True in Visual Basic)), then the returned string will specifically indicate that the shape is empty.
This method is useful while debugging for quickly checking on the status or location of a specific Polygon; all the information in the returned value can also be retrieved using other properties and methods on Polygon.