ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / ImGearDocumentCollection class / removeAllDocuments Method

In This Topic
    removeAllDocuments Method
    In This Topic
    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