Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ExtendedModeModifierKey Property
See Also  Example
Leadtools.Windows.Annotations Namespace > AnnAutomationManager Class : ExtendedModeModifierKey Property





Gets or sets the extended mode modifier key.

Syntax

Visual Basic (Declaration) 
Public Property ExtendedModeModifierKey As ModifierKeys
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationManager
Dim value As ModifierKeys
 
instance.ExtendedModeModifierKey = value
 
value = instance.ExtendedModeModifierKey
C# 
public ModifierKeys ExtendedModeModifierKey {get; set;}
C++/CLI 
public:
property ModifierKeys ExtendedModeModifierKey {
   ModifierKeys get();
   void set (ModifierKeys value);
}
XAML Syntax 
For XAML information, see the System.Windows.Input.ModifierKeys type.
XAML Syntax 
For XAML information, see the System.Windows.Input.ModifierKeys type.

Return Value

The extended mode modifier key.

Example

This example disables the extended mode modifier key.

Visual BasicCopy Code
Private Sub AnnAutomationManager_ExtendedModeModifierKey(ByVal manager As AnnAutomationManager)
  manager.ExtendedModeModifierKey = ModifierKeys.None
End Sub
C#Copy Code
private void AnnAutomationManager_ExtendedModeModifierKey(AnnAutomationManager manager) 

   manager.ExtendedModeModifierKey = ModifierKeys.None; 
}

Remarks

This key is used to toggle the AnnDrawDesigner.ExtendedMode on and off in design mode.

Extended mode modifies the drawing behavior of the designer. Pressing and holding down the modifier key while drawing makes lines snap to the closest vertical, horizontal, or 45-degree angle, and constrains rectangle and ellipse objects to be sized proportionately when they are drawn so that squares and circles are drawn instead of rectangles and ellipses.

By default, the automation framework sets this value to ModifierKeys.Shift

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

ExtendedModeModifierKey requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.