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 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.