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




modality
The Leadtools.Dicom.Common.DataTypes.ModalityType that will have Auto Window/Level preset applied to.
selected
A System.Boolean value that indicates whether the Auto Window/Level option is selected for the Leadtools.Dicom.Common.DataTypes.ModalityType.
modality
The Leadtools.Dicom.Common.DataTypes.ModalityType that will have Auto Window/Level preset applied to.
selected
A System.Boolean value that indicates whether the Auto Window/Level option is selected for the Leadtools.Dicom.Common.DataTypes.ModalityType.
Sets the Auto Window/Level

Syntax

Visual Basic (Declaration) 
Sub SetModalityApplyAutoPreset( _
   ByVal modality As ModalityType, _
   ByVal selected As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As IModalitySettingsDataSource
Dim modality As ModalityType
Dim selected As Boolean
 
instance.SetModalityApplyAutoPreset(modality, selected)
C# 
void SetModalityApplyAutoPreset( 
   ModalityType modality,
   bool selected
)
Managed Extensions for C++ 
void SetModalityApplyAutoPreset( 
   ModalityType modality,
   bool selected
) 
C++/CLI 
void SetModalityApplyAutoPreset( 
   ModalityType modality,
   bool selected
) 

Parameters

modality
The Leadtools.Dicom.Common.DataTypes.ModalityType that will have Auto Window/Level preset applied to.
selected
A System.Boolean value that indicates whether the Auto Window/Level option is selected for the 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