This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPointCollection Interface > IPointCollection.InsertPoints Method (ArcObjects .NET 10.4 SDK) |
Inserts copies of the input points as vertices into a Path, Ring, Polyline, or Polygon; or references to the input points into a Multipoint, TriangleFan, or TriangleStrip. This method is intended for internal use only.
[Visual Basic .NET] Public Sub InsertPoints ( _ ByVal Index As Integer, _ ByVal Count As Integer, _ ByRef newPoints As IPoint _ )
[C#] public void InsertPoints ( int Index, int Count, ref IPoint newPoints );
[C++]
HRESULT InsertPoints(
long Index,
long Count,
IPoint** newPoints
);
[C++]
Parameters Index Index is a parameter of type long Count Count is a parameter of type long newPoints [in]
newPoints is a parameter of type IPoint
Inserts a specified number (Count) of Points into the PointCollection at the given index from an array of Points. The first Count points from the array are inserted.
When using C# you must use the IGeometryBridge interface to call this method.
When using VBNET you must use the IGeometryBridge interface to call this method.