The AutomationEnabled Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets a value that indicates whether the automation is enabledVisual 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;} |
Property Value
true if the automation is enabled, otherwise; false.(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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7