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



Detaches this AnnAutomation object from its RasterImageViewer object.

Syntax

Visual Basic (Declaration) 
Public Sub DetachViewer() 
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomation
 
instance.DetachViewer()
C# 
public void DetachViewer()
C++/CLI 
public:
void DetachViewer(); 

Remarks

Use the AttachViewer and DetachViewer to associate a raster viewer object with an automation object.

The AnnAutomation constructor internally calls AttachViewer to associate the viewer object with itself.

Using AttachViewer and DetachViewer allows you to easily use one RasterImageViewer object to view multiple automation objects. For an example, refer to the DocumentWritersDemo example code that ships with LEADTOOLS.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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