failCallback Property

Summary

The callback function that always fires if the loadFromUri operation fails.

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

Property Value

Default value is null. If a valid function is provided, this callback fires if the Viewer.loadFromLocal operation fails. This function will be passed a ServiceError containing the error information.

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