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

Leadtools.LEADVIEW Assembly