Is this page helpful?

In this page

error Property

Summary

An error describing the reason for the image load failure from Run.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageLoader.prototype, 'error', 
	get: function() 
) 
error: Error; // read-only 

Property Value

An error object if the image load failed; otherwise, null.

Remarks

When Run is called, the image request begins. If the request fails to load for any reason, Element will not be set to the loaded image and Error will be set to an error. The Fail and Always events will then be fired. If the request fails due to ImageLoaderPreRunEventArgs.Cancel from PreRun or ImageLoaderPreSendEventArgs.Cancel from PreSend, the error will

In most cases, your browser will also log the failed image request to the browser's developer tools console.

This property is cleared when Dispose is called.

See Run for more information.

Requirements

Target Platforms

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

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