Leadtools.Annotations Namespace : AnnAutomation Class |
public class AnnAutomation : System.IDisposable
'Declaration Public Class AnnAutomation Implements System.IDisposable
'Usage Dim instance As AnnAutomation
public ref class AnnAutomation : public System.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.