LEADTOOLS WinRT (Leadtools.Annotations.Automation)
LEAD Technologies, Inc

Attach Method


The automation control for this AnnAutomation. This value cannot be null.
Attaches this AnnAutomation object to a IAnnAutomationControl object. WinRT support
Syntax
public virtual void Attach( 
   IAnnAutomationControl automationControl
)
 function Leadtools.Annotations.Automation.AnnAutomation.Attach( 
   automationControl 
)

Parameters

automationControl
The 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).

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnAutomation Class
AnnAutomation Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.