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 22.0.2023.2.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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