ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / PointCollection class / removeAllPoints Method

In This Topic
    removeAllPoints Method
    In This Topic
    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