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



Gets or sets the rotate modifier key.

Syntax

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

Return Value

The rotate modifier key.

Example

This example disables the rotate modifier key

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

   manager.RotateModifierKey = Keys.None; 
}

Remarks

This key is used in design mode when the an object is selected. Pressing down this key and clicking anywhere on the object then dragging the mouse rotates the object around its origin.

Please note that the AnnEncryptObject object does not support rotation.

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

Requirements

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

See Also

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