dispose Method (ImageLoader)

Summary

Clears the ImageLoader instance.

Syntax

JavaScript Syntax
ImageLoader.prototype.dispose = function()
TypeScript Syntax
dispose(): void;

Remarks

Abort is called internally by Dispose, so calling both is unnecessary. Once Abort has been called, the ImageLoader is permanently unusable. Dispose will reset or clear all properties on ImageLoader, while Abort will maintain references or values for all properties. If the user does not wish to abort the image load, the best time to call Dispose is in the Always callback.

Requirements

Target Platforms

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