removeDocument Method

Summary

Removes a sub-document from LEADVIEW.

Syntax
TypeScript
JavaScript
Viewer.prototype.removeDocument = function( 
   id 
) 
removeDocument( 
   id: string 
): boolean; 

Parameters

id

The ID of the LEADDocument to delete.

Return Value

A boolean value indicating whether the removeDocument operation was successful.

Remarks

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.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.LEADVIEW Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.