LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AutomationEnabled Property
See Also 
Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationEnabled Property



The AutomationEnabled Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets a value that indicates whether the automation is enabled

Syntax

Visual Basic (Declaration) 
ReadOnly Property AutomationEnabled As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IAnnAutomationControl
Dim value As Boolean
 
value = instance.AutomationEnabled
C# 
bool AutomationEnabled {get;}
C++/CLI 
property bool AutomationEnabled {
   bool get();
}

Property Value

true if the automation is enabled, otherwise; false.

Example

For an example, refer to IAnnAutomationControl.

Remarks

(Read only) Value that indicates whether the automation is enabled. When the value of this property is true, automation is enabled and when the user clicks and drags with the mouse or press keys on the keyboard, the automation object will process these events and perform the necessary actions (such as drawing new annotations objects or moving existing ones). If the value of this property is false, automation is disabled and the automation object will not process these events. You can use this property to easily enable/disable automation on this object from your user interface. If you decide to always enable automation, simply return true. You must trigger the IAnnAutomationControl.AutomationEnabledChanged event when the value of this property is changed.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features