GetPointAt Method Example

The following example retrieves the point object at the point index 2 for the Polygon object Polygon1.

Dim iPoint As Object

Dim dX as double

Dim dY as double

Set iPoint = Polygon1.GetPointAt(2)

dX = iPoint.x

dY = iPoint.y