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



Gets or sets a value indicating whether any designers in an AnnAutomation is automatically canceled when the automation becomes inactive.

Syntax

Visual Basic (Declaration) 
Public Property CancelInactiveDesigners As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationManager
Dim value As Boolean
 
instance.CancelInactiveDesigners = value
 
value = instance.CancelInactiveDesigners
C# 
public bool CancelInactiveDesigners {get; set;}
C++/CLI 
public:
property bool CancelInactiveDesigners {
   bool get();
   void set (    bool value);
}

Property Value

true to automatically cancel all designers in an AnnAutomation when the automation becomes inactive, otherwise; false. Default value is false.

Remarks

When multiple AnnAutomation objects are used in the automation, you use the AnnAutomation.Active property to set one of the automations as the active one. The active automation will then process all the mouse and keyboard events. The rest of the automations are in an inactive state and will not process any events. When an automation becomes inactive, it might have designers that are still running, for example, an edit designer selecting an object. By setting the value of CancelInactiveDesigners to true, you can cancel (or abort) all the designers in an inactive automation. This has the effect of causing all currently selected objects in the inactive automation to become de-selected.

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