loadSuccessCallback Method

Summary

The callback function that fires if the loadFromLocal operation succeeds.

Syntax
TypeScript
JavaScript
loadSuccessCallback = function() 
loadSuccessCallback( 
   document: LEADDocument 
): void; 

Parameters

document

A valid function must be provided. This callback fires if the loadFromLocal operation succeeds. <

A LEADDocument object will be passed to the callback. To set the document into the active LEADVIEW viewer, first retrieve the active viewer by calling getCurrentDocument.

Example

For an example, refer to loadFromLocal.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.LEADVIEW Assembly