ArcObjects Library Reference  (Geometry)    

IPointCollection.PointCount Property

The number of points in the collection.

[Visual Basic 6.0]
Property PointCount As Long
[Visual Basic .NET]
Public ReadOnly Property PointCount As Integer
[C#]
public int PointCount {get;}
[Java]
public int getPointCount()
throws
    IOException,
    AutomationException
[C++]
HRESULT get_PointCount(
  long* cPoints
);
[C++]

Parameters

cPoints [out, retval]

  cPoints is a parameter of type long

Product Availability

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

Description

Returns the number of Points in the PointCollection.  The last Point in the PointCollection has an index equal to PointCount - 1.

See Also

IPointCollection Interface

 


Feedback Send feedback on this page