eraseBackgroundOnInvalidate Property (ImageViewer)

Summary

Indicates whether the ImageViewer will clear the foreground canvas prior to rendering.

Syntax

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

Property Value

true to clear the foreground canvas prior to rendering; otherwise, it is false. Default value is true.

Remarks

Changing the value of this property will fire the PropertyChanged event and calls the Invalidate method.

For more information, refer to Image Viewer Rendering.

The EraseBackground event will always occur during rendering regardless of the value of EraseBackgroundOnInvalidate.

Requirements

Target Platforms

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