Occurs when the control's background needs to be erased.
Object.defineProperty(ImageViewer.prototype,'eraseBackground',
get: function(),
set: function(value)
)
function eraseBackground.add(function(sender, e));
function eraseBackground.remove(function(sender, e));
eraseBackground: void;
Users who are performing custom drawing using OwnerDraw can attach to this event and erase the control's background when this event is fired.
For more information, refer to Image Viewer Rendering.
Parameter | Type | Description |
---|---|---|
sender | var | The source of the event. |
e | ImageViewerRenderEventArgs | The event data. |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET