ImageGear .NET v25.1 - Updated
removeDocument Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ImGearDocumentCollection class : removeDocument Method
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

Reference

ImGearDocumentCollection class
ImGearDocumentCollection Members