SetPointAt Method Example

The following example modifies the location of the point at index 2 to the point 75,10 for the Polygon object Polygon1.

Dim iPoint As FixFloatPoint

Set iPoint = New FixFloatPoint

iPoint.x = 75

iPoint.y = 10

Polygon1.SetPointAt 2, iPoint