ImageGear .NET v24.12 - Updated
removeAllDocuments Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ImGearDocumentCollection class : removeAllDocuments Method
Removes all the documents from the collection.
Syntax
ASP.NET Ajax Javascript (Specification) 
function removeAllDocuments() : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfImGearDocumentCollection.removeAllDocuments();
Remarks

This function removes all documents from the collection. If the collection has no document, this function will do nothing and will not raise the documentRemoved event.

After this function removes each document, it will raise the documentRemoved event. In other words, a documentRemoved event will be fired for each document removed. Refer to the removeDocument method.for details.

See Also

Reference

ImGearDocumentCollection class
ImGearDocumentCollection Members