Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

EraseBackground Event

Show in webframe
Occurs when the control's background needs to be erased.
Syntax
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.

Event Data
Parameter Type Description
sender 'var' The source of the event.
e ImageViewerRenderEventArgs The event data.
See Also
Error processing SSI file