ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > PointCollection class : pointRemoved Event |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function add_pointRemoved(handler : Function) function remove_pointRemoved(handler : Function) |
ASP.NET Ajax Javascript (Usage) | |
---|---|
.add_pointRemoved(handler); .remove_pointRemoved(handler); |
The collection will raise this event whenever a point is removed (as the result of a call to the removePoint or removeAllPoints functions).
The collection will provide a PointEventArgs as the event argument. When the collection raises this event during the removePoint function, it will provide a copy of the removed point and the old index of the Point. When the collection raises this event during the removeAllPoints function, it will set the index to 0 and the length to the number of points in the collection.