Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationEnabled Property |
bool AutomationEnabled {get;}
'Declaration ReadOnly Property AutomationEnabled As Boolean
'Usage Dim instance As IAnnAutomationControl Dim value As Boolean value = instance.AutomationEnabled
bool AutomationEnabled {get;}
get_AutomationEnabled();
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: 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