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 22.0.2023.1.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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