cancel Property (ImageLoaderPreRunEventArgs)

Summary

Indicates whether or not to cancel the image load.

Syntax

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

Property Value

false, by default. Set it to true to cancel the image load, which will cause the Fail event to be called.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize