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




windowLevelPreset
The Leadtools.Medical.Workstation.WindowLevelInformation that represents the window level presets.
shortcuts
An array of System.Windows.Forms.Keys that are the shortcuts for the ModalitySettingsDialog.
windowLevelPreset
The Leadtools.Medical.Workstation.WindowLevelInformation that represents the window level presets.
shortcuts
An array of System.Windows.Forms.Keys that are the shortcuts for the ModalitySettingsDialog.
Call this to display a dialog which allow the user to update the given preset.

Syntax

Visual Basic (Declaration) 
Public Function AskUserToUpdatePreset( _
   ByVal windowLevelPreset As WindowLevelInformation, _
   ByVal shortcuts() As Keys _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ModalitySettingsDialog
Dim windowLevelPreset As WindowLevelInformation
Dim shortcuts() As Keys
Dim value As Boolean
 
value = instance.AskUserToUpdatePreset(windowLevelPreset, shortcuts)
C# 
public bool AskUserToUpdatePreset( 
   WindowLevelInformation windowLevelPreset,
   Keys[] shortcuts
)
Managed Extensions for C++ 
public: bool AskUserToUpdatePreset( 
   WindowLevelInformation* windowLevelPreset,
   Keys[]* shortcuts
) 
C++/CLI 
public:
bool AskUserToUpdatePreset( 
   WindowLevelInformation^ windowLevelPreset,
   array<Keys>^ shortcuts
) 

Parameters

windowLevelPreset
The Leadtools.Medical.Workstation.WindowLevelInformation that represents the window level presets.
shortcuts
An array of System.Windows.Forms.Keys that are the shortcuts for the ModalitySettingsDialog.

Return Value

True if the user wants to save the updated Leadtools.Medical.Workstation.WindowLevelInformation.

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