Returns the index of the specified polygon in the collection or -1 if the polygon does not exist.
.NET Syntax
virtual int IndexOf(const MgPolygon value) const;
|
Java Syntax
virtual int IndexOf(const MgPolygon value) const;
|
PHP Syntax
virtual int IndexOf(const MgPolygon value) const;
|
- Parameters:
-
| value | (MgPolygon) polygon reference to find the index of. |
- Returns:
- The index of the specified polygon in the collection or -1 if the polygon does not exist.