LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

ExtendedModeModifierKey Property (AnnAutomationManager)

Example 





Gets or sets the extended mode modifier key.
Syntax
public Keys ExtendedModeModifierKey {get; set;}
'Declaration
 
Public Property ExtendedModeModifierKey As Keys
'Usage
 
Dim instance As AnnAutomationManager
Dim value As Keys
 
instance.ExtendedModeModifierKey = value
 
value = instance.ExtendedModeModifierKey
public Keys ExtendedModeModifierKey {get; set;}
 get_ExtendedModeModifierKey();
set_ExtendedModeModifierKey(value);
public:
property Keys ExtendedModeModifierKey {
   Keys get();
   void set (    Keys value);
}

Property Value

The extended mode modifier key.
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 Keys.Shift

Example
 
Public Sub AnnAutomationManager_ExtendedModeModifierKey(ByVal manager As AnnAutomationManager)
   manager.ExtendedModeModifierKey = Keys.None
End Sub
public void AnnAutomationManager_ExtendedModeModifierKey(AnnAutomationManager manager)
{
   manager.ExtendedModeModifierKey = Keys.None;
}
Requirements

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

See Also

Reference

AnnAutomationManager Class
AnnAutomationManager Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.