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




modality
The Leadtools.Dicom.Common.DataTypes.ModalityType that the will use the shortcut key.
modality
The Leadtools.Dicom.Common.DataTypes.ModalityType that the will use the shortcut key.
Gets an array of System.Windows.Forms.Keys that can be used as shortcuts to select Auto Window/Level for the specified Leadtools.Dicom.Common.DataTypes.ModalityType.

Syntax

Visual Basic (Declaration) 
Public Function GetAllowedAutoModalityShortcuts( _
   ByVal modality As ModalityType _
) As Keys()
Visual Basic (Usage)Copy Code
Dim instance As ModalitySettingsDataSource
Dim modality As ModalityType
Dim value() As Keys
 
value = instance.GetAllowedAutoModalityShortcuts(modality)
C# 
public Keys[] GetAllowedAutoModalityShortcuts( 
   ModalityType modality
)
Managed Extensions for C++ 
public: Keys[]* GetAllowedAutoModalityShortcuts( 
   ModalityType modality
) 
C++/CLI 
public:
array<Keys>^ GetAllowedAutoModalityShortcuts( 
   ModalityType modality
) 

Parameters

modality
The Leadtools.Dicom.Common.DataTypes.ModalityType that the will use the shortcut key.

Return Value

An System.Array of System.Windows.Forms.Keys that can be used as shortcuts.

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