This document is archived and information here might be outdated. Recommended version. |
Inserts at the specified index references to all if the geometries in the input collection.
[Visual Basic .NET] Public Sub InsertGeometryCollection ( _ ByVal Index As Integer, _ ByVal newGeometries As IGeometryCollection _ )
[C#] public void InsertGeometryCollection ( int Index, IGeometryCollection newGeometries );
[C++]
HRESULT InsertGeometryCollection(
long Index,
IGeometryCollection* newGeometries
);
[C++]
Parameters Index
Index is a parameter of type long newGeometries
newGeometries is a parameter of type IGeometryCollection*
InsertGeometryCollection merges one GeometryCollection within another at a specified index.
//C# Example: Insert GeometryCollection geomColl2 within geomColl at index 3. geomColl.InsertGeometryCollection(3, geomColl2);