loadSuccessCallback Property

Summary

The callback function that fires if the Viewer.loadFromLocal operation succeeds.

Syntax
TypeScript
JavaScript
Object.defineProperty(LoadFromLocalParams.prototype, 'loadSuccessCallback', 
   get: function(), 
   set: function(value) 
) 
loadSuccessCallback: ; 

Property Value

A valid function must be provided. This callback fires if the Viewer.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 Viewer.getCurrentDocument.

Example

For an example, refer to Viewer.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