setCurrentDocument Method

Summary

Sets the active LEADDocument for the Viewer.

Syntax
TypeScript
JavaScript
Viewer.prototype.setCurrentDocument = function( 
   document 
) 
setCurrentDocument( 
   document: LEADDocument 
): boolean; 

Parameters

document

The LEADDocument to set.

Return Value

A boolean value indicating whether the setCurrentDocument operation was successful.

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.