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

In This Topic
    removeDocument Method
    In This Topic
    Removes a document from the collection.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function removeDocument( 
       document : ImGearDocument
    ) : (Any);
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfImGearDocumentCollection.removeDocument(ImGearDocument);

    Parameters

    document
    The document to remove.
    Remarks

    This function removes a single document from the collection. If the document is not present in the collection, this function will do nothing and it will not raise a documentRemoved event.

    After this function removes the document, it will raise the documentRemoved event. The event argument ImGearDocumentEventArgs will contain the document removed from the collection.

    See Also