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




Gets or sets the extended mode modifier key.

Syntax

Visual Basic (Declaration) 
Public Property ExtendedModeModifierKey As Keys
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationManager
Dim value As Keys
 
instance.ExtendedModeModifierKey = value
 
value = instance.ExtendedModeModifierKey
C# 
public Keys ExtendedModeModifierKey {get; set;}
Managed Extensions for C++ 
public: __property Keys get_ExtendedModeModifierKey();
public: __property void set_ExtendedModeModifierKey( 
   Keys value
);
C++/CLI 
public:
property Keys ExtendedModeModifierKey {
   Keys get();
   void set (Keys value);
}

Return Value

The extended mode modifier key.

Example

This example disables the extended mode modifier key.

Visual BasicCopy Code
Public Sub AnnAutomationManager_ExtendedModeModifierKey(ByVal manager As AnnAutomationManager)
   manager.ExtendedModeModifierKey = Keys.None
End Sub
C#Copy Code
public void AnnAutomationManager_ExtendedModeModifierKey(AnnAutomationManager manager) 

   manager.ExtendedModeModifierKey = Keys.None; 
}

Remarks

This key is used to toggle the 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 Keys.Shift

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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