←Select platform

AnnAutomation Class

Summary

Manages the automation for an annotation container and a an automation control such as the LEADTOOLS Leadtools.WinForms.RasterImageViewer control.

Syntax

C#
VB
C++
public class AnnAutomation : IDisposable 
  
Public Class AnnAutomation  
   Implements System.IDisposable  
public ref class AnnAutomation : public System.IDisposable   

Remarks

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.

Example

For an example, refer to AnnAutomationManager.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly