ArcObjects Library Reference  (Geometry)    

IGeometryBridge.GetPoints Method

Populates an array with references to points in the Multipoint. The QueryPoints method on IPointCollection makes copies of the points.

[Visual Basic 6.0]
Sub GetPoints(
    ByVal pPointCollection As IPointCollection4, _
    ByVal Index As Long, _
    ByVal Points() As IPoint _
)
[Visual Basic .NET]
Public Sub GetPoints ( _
    ByVal pPointCollection As IPointCollection4, _
    ByVal Index As Integer, _
    ByRef Points As IPoint[] _
)
[C#]
public void GetPoints (
    IPointCollection4 pPointCollection,
    int Index,
    ref IPoint[] Points
);
[Java]
public void getPoints (
    IPointCollection4 pPointCollection,
    int Index,
    IPoint[] Points
)
throws
    IOException,
    AutomationException
[C++]
HRESULT GetPoints(
  IPointCollection4* pPointCollection,
  long Index,
  Array* Points
);
[C++]

Parameters

pPointCollection [in]

  pPointCollection is a parameter of type IPointCollection4

Index

  Index is a parameter of type long

Points [in, out]

  Points is a parameter of type Array

Product Availability

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

Description

All development languages compatible version of IPointCollection::GetPoints .

See Also

IGeometryBridge Interface

Example

IGeometryBridge_GetPoints_Example