Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > ImageViewerSpyGlassInteractiveMode Class : DrawImage Event |
public event EventHandler<ImageViewerSpyGlassDrawImageEventArgs> DrawImage
'Declaration
Public Event DrawImage As EventHandler(Of ImageViewerSpyGlassDrawImageEventArgs)
The event handler receives an argument of type ImageViewerSpyGlassDrawImageEventArgs containing data related to this event. The following ImageViewerSpyGlassDrawImageEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Context | Destination context. |
DestinationRectangle | Destination rectangle. |
Offset | Extra offset of the spy glass. |
ImageViewerSpyGlassInteractiveMode will fire this event while working. It is up to the implementers and listeners to draw the effect on the context.
ImageViewerSpyGlassDrawImageEventArgsFor an example, refer to ImageViewerSpyGlassInteractiveMode.