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




modalityOptions
A ModalityOptionsCollection which contains the modalities options.
allAllowedShortcuts
A List containing the keyboard shortcuts allowed for Window Level presets.
Initializes a new instance of the ModalitySettingsDataSource class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal modalityOptions As ModalityOptionsCollection, _
   ByVal allAllowedShortcuts As List(Of Keys) _
)
Visual Basic (Usage)Copy Code
Dim modalityOptions As ModalityOptionsCollection
Dim allAllowedShortcuts As List(Of Keys)
 
Dim instance As New ModalitySettingsDataSource(modalityOptions, allAllowedShortcuts)
C# 
public ModalitySettingsDataSource( 
   ModalityOptionsCollection modalityOptions,
   List<Keys> allAllowedShortcuts
)
Managed Extensions for C++ 
public: ModalitySettingsDataSource( 
   ModalityOptionsCollection* modalityOptions,
   List<Keys>* allAllowedShortcuts
)
C++/CLI 
public:
ModalitySettingsDataSource( 
   ModalityOptionsCollection^ modalityOptions,
   List<Keys>^ allAllowedShortcuts
)

Parameters

modalityOptions
A ModalityOptionsCollection which contains the modalities options.
allAllowedShortcuts
A List containing the keyboard shortcuts allowed for Window Level presets.

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