eraseBackgroundOnInvalidate Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageViewer.prototype, 'eraseBackgroundOnInvalidate', 
	get: function(), 
	set: function(value) 
) 
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

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

Leadtools.Controls Assembly