ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > ImGearDocumentCollection class : removeAllDocuments Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function removeAllDocuments() : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearDocumentCollection.removeAllDocuments(); |
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.