ImageGear for .NET
removeAllPoints Method
See Also  Send comments on this topic.
ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > PointCollection Class : removeAllPoints Method

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.