LEADTOOLS JavaScript (Leadtools.Controls)

EraseBackgroundOnInvalidate Property

Show in webframe
Gets or sets a value that indicates whether the ImageViewer will clear the foreground canvas prior to rendering.
Syntax
get_eraseBackgroundOnInvalidate();
set_eraseBackgroundOnInvalidate(value);
Object.defineProperty('eraseBackgroundOnInvalidate');

Property Value

TypeDescription
booleantrue to 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 the Rendering section in ImageViewer.

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

See Also

Reference

ImageViewer Object
ImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.