Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomation Class : AnnAutomation Constructor |
public AnnAutomation( AnnAutomationManager automationManager, IAnnAutomationControl automationControl )
'Declaration
Public Function New( _ ByVal automationManager As AnnAutomationManager, _ ByVal automationControl As IAnnAutomationControl _ )
public AnnAutomation( AnnAutomationManager automationManager, IAnnAutomationControl automationControl )
-(id) initWithManager:(LTAnnAutomationManager*) automationManager automationControl:(NSObject<LTIAnnAutomationControl>*) automationControl;
public AnnAutomation(
AnnAutomationManager automationManager,
IAnnAutomationControl automationControl
)
function AnnAutomation( automationManager , automationControl )
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.
For an example, refer to FindObjectById.