- modality
- The Leadtools.Dicom.Common.DataTypes.ModalityType for the preset.
- preset
- The WindowLevelInformation for the preset.
| Visual Basic (Declaration) | |
|---|---|
Public Function GetAllowedModalityPresetShortcuts( _ ByVal modality As ModalityType, _ ByVal preset As WindowLevelInformation _ ) As Keys() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As ModalitySettingsDataSource Dim modality As ModalityType Dim preset As WindowLevelInformation Dim value() As Keys value = instance.GetAllowedModalityPresetShortcuts(modality, preset) | |
| C# | |
|---|---|
public Keys[] GetAllowedModalityPresetShortcuts( ModalityType modality, WindowLevelInformation preset ) | |
| Managed Extensions for C++ | |
|---|---|
public: Keys[]* GetAllowedModalityPresetShortcuts( ModalityType modality, WindowLevelInformation* preset ) | |
| C++/CLI | |
|---|---|
public: array<Keys>^ GetAllowedModalityPresetShortcuts( ModalityType modality, WindowLevelInformation^ preset ) | |
Parameters
- modality
- The Leadtools.Dicom.Common.DataTypes.ModalityType for the preset.
- preset
- The WindowLevelInformation for the preset.
Return Value
An array of System.Windows.Forms.Keys that can be used as shortcuts for the specified preset.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code