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 > ModalitySettingsDataSource Class : SetModalityApplyAutoPreset Method




modality
The Leadtools.Dicom.Common.DataTypes.ModalityType to set the auto preset for
selected
True if Apply Auto Preset is set for this modality.
modality
The Leadtools.Dicom.Common.DataTypes.ModalityType to set the auto preset for
selected
True if Apply Auto Preset is set for this modality.
Sets whether Apply Auto Preset feature is selected for a given modality.

Syntax

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

Parameters

modality
The Leadtools.Dicom.Common.DataTypes.ModalityType to set the auto preset for
selected
True if Apply Auto Preset is set for this modality.

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