(Leadtools.Annotations.Core)

IAnnAutomationControl Interface

Show in webframe





Members 
Support for user controls with the LEADTOOLS Annotation Automation.
Object Model
Syntax
public interface IAnnAutomationControl 
Public Interface IAnnAutomationControl 
public interface IAnnAutomationControl 

            
public interface IAnnAutomationControl
function Leadtools.Annotations.Core.IAnnAutomationControl() 
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 attach and detach methods of AnnAutomation if more advanced functionality is required.

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

Requirements

Target Platforms

See Also

Reference

IAnnAutomationControl Members
Leadtools.Annotations.Core Namespace

 

 


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