loadAnnotationsFailCallback Property

Summary

The callback function that fires if the Viewer.loadFromLocal operation fails to load annotations.

Syntax
TypeScript
JavaScript
Object.defineProperty(ILoadFromLocalParams.prototype, 'loadAnnotationsFailCallback', 
   get: function(), 
   set: function(value) 
) 
loadAnnotationsFailCallback: ; 
Remarks

Default value is null. If a valid function is provided, this callback will be fired if the annotations cannot be parsed. This function will return the LEADDocument object that was loaded, as well as an error object containing more information indicating why the annotations failed to load.

Requirements

Target Platforms

Help Version 22.0.2023.1.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.LEADVIEW Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.