error Property

Summary

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

Syntax

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

Property Value

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

Remarks

When Run is called, the image begins loading. If the image 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 event will then be fired.

See Run for more information.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly