This document is archived and information here might be outdated.  Recommended version.


IPointCollection.RemovePoints Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IPointCollection.RemovePoints Method

Removes vertices from a Path, Ring, Polyline, or Polygon, or references to points from a Multipoint, TriangleFan, or TriangleStrip.

[Visual Basic .NET]
Public Sub RemovePoints ( _
    ByVal Index As Integer, _
    ByVal Count As Integer _
)
[C#]
public void RemovePoints (
    int Index,
    int Count
);
[C++]
HRESULT RemovePoints(
  long Index,
  long Count
);
[C++]

Parameters Index Index is a parameter of type long Count Count is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Removes a specified number (Count) of Points from a PointCollection starting at a given index.

See Also

IPointCollection Interface

.NET Related Topics

How to create a sketch operation | Working with the edit sketch