Removes a sub-document from LEADVIEW.
Viewer.prototype.removeDocument = function(
The ID of the LEADDocument to delete.
A boolean value indicating whether the removeDocument operation was successful.
This method is intended to be used in conjunction with the Virtual Document portion of the LEADTOOLS Document SDK. If the current LEADDocument object does not currently have any sub-documents, and the provided ID matches the ID of the LEADDocument object currently loaded into the Viewer, then internally the clear() method is called.