Visual Basic (Declaration) | |
---|---|
Public Sub DetachViewer() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void DetachViewer() |
C++/CLI | |
---|---|
public: void DetachViewer(); |
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family