Cancel Property

Summary

Indicates whether or not to cancel the image load of an ImageLoader.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageLoaderPreSendEventArgs.prototype, 'cancel', 
	get: function(), 
	set: function(value) 
) 
cancel: boolean; 

Property Value

true to cancel the image request. The default is false.

Remarks

Set this property to true to cancel the image load during the ImageLoader.PreSend event. This will cause the ImageLoader.Fail event to be called.

See ImageLoader and ImageLoader.Run for more information.

Requirements

Target Platforms

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

Leadtools Assembly