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 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.