LEADTOOLS JavaScript (Leadtools.Controls)

PostRenderImage Event

Show in webframe
Occurs after the control has rendered the image.
Syntax
add_postRenderImage(function(sender, e))
postRenderImage.add(function(sender, e))
remove_postRenderImage(function(sender, e))
postRenderImage.remove(function(sender, e))
    
Remarks

Users can attach to this event to be notified after the control renders the image. This is the preferred way to perform custom drawing on top the image such as annotations. The canvas context to draw to is in ImageViewerRenderEventArgs.Context.

If the custom rendering involves the same transformation as the viewer, then use the Transform property to get the current transformation matrix and apply its values to the context.

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

Reference

ImageViewer Object
ImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.