LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
RotateModifierKey Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomationManager Class : RotateModifierKey Property



The RotateModifierKey Property supports WPF/Silverlight.

The RotateModifierKey Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the rotate modifier key. Supported in Silverlight, Windows Phone 7

Syntax

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

Property Value

The rotate modifier key.

Example

This example disables the rotate modifier key

Visual BasicCopy Code
Private Sub AnnAutomationManager_RotateModifierKey(ByVal manager As AnnAutomationManager)
   manager.RotateModifierKey = ModifierKeys.None
End Sub
C#Copy Code
private void AnnAutomationManager_RotateModifierKey(AnnAutomationManager manager)
{
   manager.RotateModifierKey = ModifierKeys.None;
}
SilverlightCSharpCopy Code
private void AnnAutomationManager_RotateModifierKey(AnnAutomationManager manager)
{
   manager.RotateModifierKey = ModifierKeys.None;
}
SilverlightVBCopy Code
Private Sub AnnAutomationManager_RotateModifierKey(ByVal manager As AnnAutomationManager)
   manager.RotateModifierKey = ModifierKeys.None
End Sub

Remarks

This key is used in design mode when the an object is selected. Pressing down this key and clicking on any of the object's control points then dragging the mouse rotates the object around its origin.

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

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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