LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)
LEAD Technologies, Inc

AskUserToUpdatePreset Method (ModalitySettingsDialog)







The Leadtools.Medical.Workstation.WindowLevelInformation that represents the window level presets.
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
public bool AskUserToUpdatePreset( 
   WindowLevelInformation windowLevelPreset,
   Keys[] shortcuts
)
'Declaration
 
Public Function AskUserToUpdatePreset( _
   ByVal windowLevelPreset As WindowLevelInformation, _
   ByVal shortcuts() As Keys _
) As Boolean
'Usage
 
Dim instance As ModalitySettingsDialog
Dim windowLevelPreset As WindowLevelInformation
Dim shortcuts() As Keys
Dim value As Boolean
 
value = instance.AskUserToUpdatePreset(windowLevelPreset, shortcuts)
public bool AskUserToUpdatePreset( 
   WindowLevelInformation windowLevelPreset,
   Keys[] shortcuts
)
 function Leadtools.Medical.Workstation.UI.ModalitySettingsDialog.AskUserToUpdatePreset( 
   windowLevelPreset ,
   shortcuts 
)
public: bool AskUserToUpdatePreset( 
   WindowLevelInformation* windowLevelPreset,
   Keys[]* shortcuts
) 
public:
bool AskUserToUpdatePreset( 
   WindowLevelInformation* windowLevelPreset,
   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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ModalitySettingsDialog Class
ModalitySettingsDialog Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.