Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
AttachContainer Method
See Also 
Leadtools.Annotations Namespace > AnnAutomation Class : AttachContainer Method




container
The AnnContainer object to attach.
Attaches an AnnContainer to this AnnAutomation object.

Syntax

Visual Basic (Declaration) 
Public Sub AttachContainer( _
   ByVal container As AnnContainer _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomation
Dim container As AnnContainer
 
instance.AttachContainer(container)
C# 
public void AttachContainer( 
   AnnContainer container
)
Managed Extensions for C++ 
public: void AttachContainer( 
   AnnContainer* container
) 
C++/CLI 
public:
void AttachContainer( 
   AnnContainer^ container
) 

Parameters

container
The AnnContainer object to attach.

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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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