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 Namespace > IModalitySettingsView Interface : AskUserToUpdatePreset Method




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

Syntax

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

Parameters

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

Return Value

True if the user wants to save the updated 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