Points Object Methods

Add(x,y)

Adds a new point to the end of the object’s array.

Example:

var pts = LayoutHost.CreatePointsObject();

pts.Add(5, 10);

Remove(index)

Removes a point on the object’s array, given the (zero-based) index.

Example:

var pts = LayoutHost.CreatePointsObject();

pts.Add(5, 10);

pts.Remove(0);