Leadtools.Controls Namespace > ImageViewer Object : EraseBackground Event |
add_eraseBackground(function(sender, e)) eraseBackground.add(function(sender, e)) remove_eraseBackground(function(sender, e)) eraseBackground.remove(function(sender, e))
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. |