ImageGear .NET v25.1 - Updated
removeAllPoints Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > PointCollection class : removeAllPoints Method
Removes all the points from the collection.
Syntax
ASP.NET Ajax Javascript (Specification) 
function removeAllPoints() : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfPointCollection.removeAllPoints();
Remarks

This function removes all points from the collection. If the collection contains no points, this function will do nothing and will not raise the pointRemoved event.

After this function removes each point, it will raise the pointRemoved event. It will set ImageGear.Web.UI.PointEventArgs.index to 0 and ImageGear.Web.UI.PointEventArgs.length to the number of points removed.

See Also

Reference

PointCollection class
PointCollection Members