LEADTOOLS Medical (Leadtools.Medical.Workstation assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SetAutoWindowLevelShortcut Method
See Also 
Leadtools.Medical.Workstation Namespace > ModalitySettingsDataSource Class : SetAutoWindowLevelShortcut Method




modality
The Leadtools.Dicom.Common.DataTypes.ModalityType to set the shortcut key for.
shortcut
A System.Windows.Forms.Keys object that represents the shortcut key
modality
The Leadtools.Dicom.Common.DataTypes.ModalityType to set the shortcut key for.
shortcut
A System.Windows.Forms.Keys object that represents the shortcut key
Sets the Auto Window/Level shortcut key.

Syntax

Visual Basic (Declaration) 
Public Sub SetAutoWindowLevelShortcut( _
   ByVal modality As ModalityType, _
   ByVal shortcut As Keys _
) 
Visual Basic (Usage)Copy Code
Dim instance As ModalitySettingsDataSource
Dim modality As ModalityType
Dim shortcut As Keys
 
instance.SetAutoWindowLevelShortcut(modality, shortcut)
C# 
public void SetAutoWindowLevelShortcut( 
   ModalityType modality,
   Keys shortcut
)
Managed Extensions for C++ 
public: void SetAutoWindowLevelShortcut( 
   ModalityType modality,
   Keys shortcut
) 
C++/CLI 
public:
void SetAutoWindowLevelShortcut( 
   ModalityType modality,
   Keys shortcut
) 

Parameters

modality
The Leadtools.Dicom.Common.DataTypes.ModalityType to set the shortcut key for.
shortcut
A System.Windows.Forms.Keys object that represents the shortcut key

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also