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




modality
A Leadtools.Dicom.Common.DataTypes.ModalityType object that represents the modality.
modality
A Leadtools.Dicom.Common.DataTypes.ModalityType object that represents the modality.
Gets the window level presets for the specified Leadtools.Dicom.Common.DataTypes.ModalityType.

Syntax

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

Parameters

modality
A Leadtools.Dicom.Common.DataTypes.ModalityType object that represents the modality.

Return Value

An System.Array of WindowLevelInformation objects that represent the window level presets for the specified modality.

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