This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPointCollection Interface > IPointCollection.AddPoints Method (ArcObjects .NET 10.5 SDK) |
Adds copies of the input points as vertices to this Path, Ring, Polyline, or Polygon; or references to the input points to this Multipoint, TriangleFan, or TriangleStrip. This method is intended for internal use only.
[Visual Basic .NET] Public Sub AddPoints ( _ ByVal Count As Integer, _ ByRef newPoints As IPoint _ )
[C#] public void AddPoints ( int Count, ref IPoint newPoints );
[C++]
HRESULT AddPoints(
long Count,
IPoint** newPoints
);
[C++]
Parameters Count Count is a parameter of type long newPoints [in]
newPoints is a parameter of type IPoint
Adds the first specified number (Count) of Points to the PointCollection from an array of Points (with at least Count points). The Points are all added to the end of the PointCollection in the same sequence as they are ordered in the array.
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.