ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI_namespace > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.ImGearDocumentCollection : 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.
ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.ImGearDocumentCollection
ImGearDocumentCollection Members