LEADTOOLS JavaScript (Leadtools.Annotations.Core)
LEAD Technologies, Inc

IAnnAutomationControl Interface


Members 
Support for user controls with the LEADTOOLS Annotation Automation.
Object Model
IAnnAutomationControl InterfaceAnnContainer ObjectAnnRenderingEngine Object
Syntax
function Leadtools.Annotations.Core.IAnnAutomationControl() 
!MISSING Scrap '_RTJavaScript_Interface_SYNTAX'!
Remarks

IAnnAutomationControl defines and interface that allows you to easily use any control you choose with LEADTOOLS Annotation Automation. By default, the automation framework provides support for using a LEADTOOLS Leadtools.Controls.ImageViewer control as the surface where the automation is used.

To perform automation, the toolkit must interact with the control in different ways, for example, obtain information about the control size and resolution, subscribe to the various touch/mouse and keyboard events for user-interface integration, invalidate all or portions of the control surface for re-painting to draw the annotation objects and translate values between annotation and client coordinates.

When the above mode is used, you can use the ImageViewerAutomationControl that implements IAnnAutomationControl and provides translation between the methods/properties/events of the interface and those of Leadtools.Controls.ImageViewer.

To instead use automation on your own custom control, you must create a class that implements IAnnAutomationControl and pass an instance of this class to AnnAutomation(AnnAutomationManager, IAnnAutomationControl) and optionally to AnnAutomation.Attach and AnnAutomation.Detach if more advantage functionality is required.

IAnnAutomationControl is designed so that you can easily use it to create an automation from an HTML control.

See Also

Reference

IAnnAutomationControl Members
Leadtools.Annotations.Core Namespace

Support for user controls with the LEADTOOLS Annotation Automation.
Object Model
IAnnAutomationControl InterfaceAnnContainer ObjectAnnRenderingEngine Object
Syntax
function Leadtools.Annotations.Core.IAnnAutomationControl() 
!MISSING Scrap '_RTJavaScript_Interface_SYNTAX'!
Remarks

IAnnAutomationControl defines and interface that allows you to easily use any control you choose with LEADTOOLS Annotation Automation. By default, the automation framework provides support for using a LEADTOOLS Leadtools.Controls.ImageViewer control as the surface where the automation is used.

To perform automation, the toolkit must interact with the control in different ways, for example, obtain information about the control size and resolution, subscribe to the various touch/mouse and keyboard events for user-interface integration, invalidate all or portions of the control surface for re-painting to draw the annotation objects and translate values between annotation and client coordinates.

When the above mode is used, you can use the ImageViewerAutomationControl that implements IAnnAutomationControl and provides translation between the methods/properties/events of the interface and those of Leadtools.Controls.ImageViewer.

To instead use automation on your own custom control, you must create a class that implements IAnnAutomationControl and pass an instance of this class to AnnAutomation(AnnAutomationManager, IAnnAutomationControl) and optionally to AnnAutomation.Attach and AnnAutomation.Detach if more advantage functionality is required.

IAnnAutomationControl is designed so that you can easily use it to create an automation from an HTML control.

See Also

Reference

IAnnAutomationControl Members
Leadtools.Annotations.Core Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.