←Select platform

AnnAutomation Constructor

Summary

Initializes a new instance of the AnnAutomation class.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
-(id) initWithManager:(LTAnnAutomationManager*) automationManager  
    automationControl:(NSObject<LTIAnnAutomationControl>*) automationControl; 
             
public AnnAutomation( 
  AnnAutomationManager automationManager,  
  IAnnAutomationControl automationControl 
) 
             
function AnnAutomation(  
   automationManager , 
   automationControl  
) 

Parameters

automationManager
The manager to which this AnnAutomation object will belong. Must not be null.

automationControl
The automation control to use. Must not be null.

Remarks

This constructor creates a new instance of the AnnAutomation class, hooks to the necessary events in viewer to handle the user interface, creates the AnnContainer that will hold the annotation objects and finally adds this newly created AnnAutomationObject to the Automations collection.

This constructor will call Attach.

Example

For an example, refer to FindObjectById.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly