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

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