LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
DetachContainer Method
See Also 
Leadtools.Annotations Namespace > AnnAutomation Class : DetachContainer Method



Detaches the current AnnContainer from this AnnAutomation object.

Syntax

Visual Basic (Declaration) 
Public Function DetachContainer() As AnnContainer
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomation
Dim value As AnnContainer
 
value = instance.DetachContainer()
C# 
public AnnContainer DetachContainer()
C++/CLI 
public:
AnnContainer^ DetachContainer(); 

Return Value

The last AnnContainer attached to this AnnAutomation object.

Remarks

You can use AttachContainer and DetachContainer to associated an AnnAutomationObject with a certain AnnContainer.

Note that when you detach the container from the AnnAutomationObject object, this object becomes unusable till you attach another container (or the same one) back into it through AttachContainer

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features