The AnnAutomation Class is available in LEADTOOLS Document and Medical Imaging toolkits.
Manages the automation for an annotation container and a an automation control such as the LEADTOOLS Leadtools.WinForms.RasterImageViewer control.Visual Basic (Declaration) | |
---|---|
Public Class AnnAutomation Implements IDisposable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnAutomation |
C# | |
---|---|
public class AnnAutomation : IDisposable |
C++/CLI | |
---|---|
public ref class AnnAutomation : public IDisposable |
The AnnAutomation class links an annotation AnnContainer object and an object that implements the IAnnAutomationControl interface together. This class provides methods to automatically link the automation with the standard LEADTOOLS viewing control in Windows Forms; the Leadtools.WinForms.RasterImageViewer object by having overload methods in the constructor and the Attach methods.
An automated annotation application usually creates one AnnAutomation object per annotation control. Therefore, typically, an SDI application has one AnnAutomation object (one AnnContainer and one IAnnAutomationControl, such as Leadtools.WinForms.RasterImageViewer, and an MDI application has one AnnAutomation per annotation child form.
System.Object
Leadtools.Annotations.AnnAutomation
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7