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 the Rendering section in ImageViewer.
The EraseBackground event will always occur during rendering regardless of the value of EraseBackgroundOnInvalidate.