Gets or sets the owner automation control for this AnnDesigner
public virtual 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^ );
}
The owner IAnnAutomationControl object for this AnnDesigner.
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.
For an example, refer to AnnDesigner.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET