LEADTOOLS JavaScript (Leadtools.Controls)
LEAD Technologies, Inc

PostRenderImage Event


Occurs after the control has rendered the image.
Syntax
add_postRenderImage(function(sender, e))
remove_postRenderImage(function(sender, e))

!MISSING Scrap '_RTJavaScript_Event_SYNTAX'!
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-2012 All Rights Reserved. LEAD Technologies, Inc.