LEADTOOLS JavaScript (Leadtools.Annotations.Automation)

PutImageData Method

Show in webframe
HTML 5 ImageData object that contains the image data.
The top-left position of the image data.
Puts the image data in the specified area in the image inside the control.
Syntax
 function Leadtools.Annotations.Automation.ImageViewerAutomationControl.putImageData( 
   data ,
   position 
)

Parameters

ParameterTypeDescription
dataLeadtools.Html.ImageDataHTML 5 ImageData object that contains the image data.
positionLeadPointDThe top-left position of the image data.
Remarks

When Realize is called in the automation framework, GetImageData is called to obtain the image data area under the object. This data will then be stored in the redaction object.

When AnnRedactionObject.Restore is called in the automation framework, PutImageData is called and the control must set this data back on the image at the specified area.

See Also

Reference

ImageViewerAutomationControl Object
ImageViewerAutomationControl Members

 

 


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