←Select platform

AutomationControl Property (AnnDesigner)

Summary

Gets or sets the owner automation control for this AnnDesigner

Syntax

C#
VB
C++
public virtual Leadtools.Annotations.IAnnAutomationControl AutomationControl {get; set;} 
  
Public Overridable Property AutomationControl As Leadtools.Annotations.IAnnAutomationControl 
public: 
virtual property Leadtools.Annotations.IAnnAutomationControl^ AutomationControl { 
   Leadtools.Annotations.IAnnAutomationControl^ get(); 
   void set (    Leadtools.Annotations.IAnnAutomationControl^ ); 
} 

Property Value

The owner IAnnAutomationControl object for this AnnDesigner.

Remarks

This property is used To annotate your own control that implements IAnnAutomationControl, you must assign your control to the AutomationControl property and leave the value of Owner to be the default of null.

Note: In LEADTOOLS v17 and later, the framework uses an internal class that implements IAnnAutomationControl even when the automation is using the standard LEADTOOLS Leadtools.WinForms.RasterImageViewer class, so the value of Owner will always be null, instead, obtain the control being automated using the AutomationControl property.

Refer to IAnnAutomationControl for an example on how to use LEADTOOLS annotations with your own controls.

Example

For an example, refer to AnnDesigner.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations Assembly
Click or drag to resize