Leadtools.Annotations Namespace : AnnAutomation Class |
public class AnnAutomation : System.IDisposable
'Declaration Public Class AnnAutomation Implements System.IDisposable
'Usage Dim instance As AnnAutomation
public sealed class AnnAutomation : IClosable //In WinRT the IDisposable interface is replaced by IClosable
function Leadtools.Annotations.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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2