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