ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > ImGearDocument class : pageRemoved Event |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function add_pageRemoved(handler : Function) function remove_pageRemoved(handler : Function) |
ASP.NET Ajax Javascript (Usage) | |
---|---|
.add_pageRemoved(handler); .remove_pageRemoved(handler); |
The ImGearDocument will raise this event whenever a page is removed (as a result of a call to the removePage or removeAllPages methods).
The ImGearDocument will provide a ImGearPageEventArgs as the event argument. When the page collection raises this event during the removePage function, it will provide the removed page in the event argument ImGearPageEventArgs object When the document raises this event during the removeAllPages function, it will provide the removed page in the ImGearPageEventArgs object. for every page object removed.