←Select platform

Detach Method

Summary
Detaches this AnnAutomation object from its IAnnAutomationControl object.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public virtual void Detach() 
- (void)detach; 
public void detach() 
public:  
   virtual void Detach() 
def Detach(self): 
Remarks

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

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

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

Attach, AttachContainer 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

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.