fail Event

Summary

Occurs when the image has failed to load.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageLoader.prototype,'fail',  
	get: function(), 
	set: function(value) 
) 
fail: LeadEvent; 
Remarks

When Fail fires, the image request has failed. Error should have information about why the image request failed.

Fail will not execute if Dispose or Abort is called on ImageLoader prior to the completion of the request, but Fail and Always will execute if the image request is canceled from PreRun or PreSend.

Event Data
ParameterTypeDescription
sendervarThe source of the event.
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.