successCallback Method

Summary

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

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

Parameters

document

A valid function must be provided. This callback will fire if the 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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.LEADVIEW Assembly