ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > PointCollection class : removeAllPoints Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function removeAllPoints() : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfPointCollection.removeAllPoints(); |
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.