←Select platform

AnnAutomation Constructor

Summary
Initializes a new instance of the AnnAutomation class.
Syntax
C#
VB
Objective-C
C++
Java
Public Function New( _ 
   ByVal automationManager As AnnAutomationManager, _ 
   ByVal automationControl As IAnnAutomationControl _ 
) 
-(id) initWithManager:(LTAnnAutomationManager*) automationManager  
    automationControl:(NSObject<LTIAnnAutomationControl>*) automationControl; 
public AnnAutomation( 
  AnnAutomationManager automationManager,  
  IAnnAutomationControl 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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.