successCallback Property

Summary

The callback function that always fires if the Viewer.loadFromUri operation succeeds.

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

Property Value

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

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.