LEADTOOLS Annotations (Leadtools.Annotations assembly)

Attach Method

Show in webframe





The automation control for this AnnAutomation.
Attaches this AnnAutomation object with a IAnnAutomationControl object.
Syntax
public void Attach( 
   IAnnAutomationControl automationControl
)
'Declaration
 
Public Sub Attach( _
   ByVal automationControl As IAnnAutomationControl _
) 
'Usage
 
Dim instance As AnnAutomation
Dim automationControl As IAnnAutomationControl
 
instance.Attach(automationControl)

            

            
public:
void Attach( 
   IAnnAutomationControl^ automationControl
) 

Parameters

automationControl
The automation control for this AnnAutomation.
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). When using automation with the LEADTOOLS Leadtools.WinForms.RasterImageViewer, you must instead use the AttachViewer and DetachViewer methods instead.

Refer to IAnnAutomationControl for an example on how to use LEADTOOLS annotations with your own controls.

Requirements

Target Platforms

See Also

Reference

AnnAutomation Class
AnnAutomation Members

 

 


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