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




modality
The Leadtools.Dicom.Common.DataTypes.ModalityType that the preset will be deleted for.
preset
The WindowLevelInformation used for the specified Leadtools.Dicom.Common.DataTypes.ModalityType.
modality
The Leadtools.Dicom.Common.DataTypes.ModalityType that the preset will be deleted for.
Deletes a modality preset for the Leadtools.Dicom.Common.DataTypes.ModalityType.

Syntax

Visual Basic (Declaration) 
Sub DeleteModalityPreset( _
   ByVal modality As ModalityType, _
   ByVal preset As WindowLevelInformation _
) 
Visual Basic (Usage)Copy Code
Dim instance As IModalitySettingsDataSource
Dim modality As ModalityType
Dim preset As WindowLevelInformation
 
instance.DeleteModalityPreset(modality, preset)
C# 
void DeleteModalityPreset( 
   ModalityType modality,
   WindowLevelInformation preset
)
Managed Extensions for C++ 
void DeleteModalityPreset( 
   ModalityType modality,
   WindowLevelInformation* preset
) 
C++/CLI 
void DeleteModalityPreset( 
   ModalityType modality,
   WindowLevelInformation^ preset
) 

Parameters

modality
The Leadtools.Dicom.Common.DataTypes.ModalityType that the preset will be deleted for.
preset
The WindowLevelInformation used for the specified Leadtools.Dicom.Common.DataTypes.ModalityType.

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