Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Add
Clear
Contains
GetCount
GetItem
IndexOf
Insert
MgCurvePolygonCollection
Remove
RemoveAt
SetItem
virtual void MgCurvePolygonCollection::Insert | ( | INT32 | index,
|  | MgCurvePolygon * | value |
| ) |  |  | `[virtual]`
Inserts the specified curve polygon at the specified index within the collection. Items following the insertion point are moved down to accommodate the new item. Throws an invalid argument exception if the specified index is out of range. .NET Syntax
`virtual void Insert(int index, MgCurvePolygon value);`
Java Syntax
`virtual void Insert(int index, MgCurvePolygon value);`
PHP Syntax
`virtual void Insert(int index, MgCurvePolygon value);`
  Parameters:
  | index | (int) Index at which to insert the coordinate.
  | value | (MgCurvePolygon) curve polygon to insert.
  Exceptions:
  | MgIndexOutOfRangeException |

Comments or suggestions? Send us feedback.