cancel Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageLoaderPreRunEventArgs.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.PreRun event. This will cause the ImageLoader.Fail event to be called.

See ImageLoader and ImageLoader.Run for more information.

Requirements

Target Platforms

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

Leadtools Assembly

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