ImageGear .NET v24.12 - Updated
removeAllPages Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ImGearPageCollection class : removeAllPages Method
Removes all the pages from the collection.
Syntax
ASP.NET Ajax Javascript (Specification) 
function removeAllPages() : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfImGearPageCollection.removeAllPages();
Remarks

This function removes all pages from the collection. If the collection contains no page, this function will do nothing and will not raise the pageRemoved event.

A pageRemoved event will be raised for each page removed in the collection. Refer to the pageRemoved event for details about the eventArgs.

See Also

Reference

ImGearPageCollection class
ImGearPageCollection Members