LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

AutomationControl Property (AnnDesigner)






Gets or sets the owner automation control for this AnnDesigner
Syntax
public virtual IAnnAutomationControl AutomationControl {get; set;}
'Declaration
 
Public Overridable Property AutomationControl As IAnnAutomationControl
'Usage
 
Dim instance As AnnDesigner
Dim value As IAnnAutomationControl
 
instance.AutomationControl = value
 
value = instance.AutomationControl
public virtual IAnnAutomationControl AutomationControl {get; set;}
 get_AutomationControl();
set_AutomationControl(value);
public:
virtual property IAnnAutomationControl^ AutomationControl {
   IAnnAutomationControl^ get();
   void set (    IAnnAutomationControl^ value);
}

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: 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

See Also

Reference

AnnDesigner Class
AnnDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.