Leadtools.Controls Namespace > ImageViewer Object : EraseBackgroundOnInvalidate Property |
get_eraseBackgroundOnInvalidate();
set_eraseBackgroundOnInvalidate(value);
Object.defineProperty('eraseBackgroundOnInvalidate');
Type | Description |
---|---|
boolean | true to to clear the foreground canvas prior to rendering; otherwise, it is false. Default value is true. |
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.