LEADTOOLS JavaScript (Leadtools.Annotations.Automation)

Attach Method

Show in webframe
The automation control for this AnnAutomation. This value cannot be null.
Attaches this AnnAutomation object to a IAnnAutomationControl object.
Syntax
 function Leadtools.Annotations.Automation.AnnAutomation.attach( 
   automationControl 
)

Parameters

ParameterTypeDescription
automationControlIAnnAutomationControlThe automation control for this AnnAutomation. This value cannot be null.
Remarks

Use Attach and Detach to associate a control that implements IAnnAutomationControl with an automation object.

The AnnAutomation constructor internally calls Attach to associate the control with itself.

Using Attach and Detach allows you to easily use one IAnnAutomationControl object to view multiple automation objects.

Attach and Detach should be used when you are using the IAnnAutomationControl class with this AnnAutomation object (by creating the object using the AnnAutomation(AnnAutomationManager, IAnnAutomationControl) constructor).

See Also

Reference

AnnAutomation Object
AnnAutomation Members

 

 


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