ImageGear for .NET
removeDocument Method
See Also  Send comments on this topic.
ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > ImGearDocumentCollection Class : removeDocument Method

document
The document to remove.

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.