LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SetNotchFilterFrequency Method
See Also 
Leadtools.Dicom Namespace > DicomWaveformChannel Class : SetNotchFilterFrequency Method



include
true to insert the "Notch Filter Frequency" (003A,0222) element (that corresponds to this channel) into the dataset and then set its value, false to delete the "Notch Filter Frequency" (003A,0222) element (that corresponds to this channel) from the dataset.
notchFilterFrequency
New notch filter frequency.
include
true to insert the "Notch Filter Frequency" (003A,0222) element (that corresponds to this channel) into the dataset and then set its value, false to delete the "Notch Filter Frequency" (003A,0222) element (that corresponds to this channel) from the dataset.
notchFilterFrequency
New notch filter frequency.
Sets the notch filter frequency for the channel.

Syntax

Visual Basic (Declaration) 
Public Function SetNotchFilterFrequency( _
   ByVal include As Boolean, _
   ByVal notchFilterFrequency As Double _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DicomWaveformChannel
Dim include As Boolean
Dim notchFilterFrequency As Double
Dim value As Boolean
 
value = instance.SetNotchFilterFrequency(include, notchFilterFrequency)
C# 
public bool SetNotchFilterFrequency( 
   bool include,
   double notchFilterFrequency
)
C++/CLI 
public:
bool SetNotchFilterFrequency( 
   bool include,
   double notchFilterFrequency
) 

Parameters

include
true to insert the "Notch Filter Frequency" (003A,0222) element (that corresponds to this channel) into the dataset and then set its value, false to delete the "Notch Filter Frequency" (003A,0222) element (that corresponds to this channel) from the dataset.
notchFilterFrequency
New notch filter frequency.

Return Value

true if the notch filter frequency was set successfully, false if an error occurred.

Example

For an example, refer to DicomDataSet.WaveformGroupCount.

Remarks

  • This method sets the value of the "Notch Filter Frequency" (003A,0222) element that corresponds to this channel. Set include to true to force the method to insert the element if it doesn’t already exist in the dataset.
  • This method can also be used to delete the "Notch Filter Frequency" (003A,0222) element that corresponds to this channel by setting include to false. In this case the notchFilterFrequency parameter is ignored.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features