Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
SetSampleInterpretation Method
See Also 
Leadtools.Dicom Namespace > DicomWaveformGroup Class : SetSampleInterpretation Method




interpretation
The new waveform sample interpretation
Sets the waveform sample interpretation.

Syntax

Visual Basic (Declaration) 
Public Function SetSampleInterpretation( _
   ByVal interpretation As DicomWaveformSampleInterpretationType _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DicomWaveformGroup
Dim interpretation As DicomWaveformSampleInterpretationType
Dim value As Boolean
 
value = instance.SetSampleInterpretation(interpretation)
C# 
public bool SetSampleInterpretation( 
   DicomWaveformSampleInterpretationType interpretation
)
Managed Extensions for C++ 
public: bool SetSampleInterpretation( 
   DicomWaveformSampleInterpretationType interpretation
) 
C++/CLI 
public:
bool SetSampleInterpretation( 
   DicomWaveformSampleInterpretationType interpretation
) 

Parameters

interpretation
The new waveform sample interpretation

Return Value

true if the waveform sample interpretation was set successfully, false if an error occurred.

Example

For an example, refer to WaveformGroupCount.

Remarks

  • In DICOM all channels within a multiplex group are synchronously digitized at a common sampling frequency and have the same sample interpretation. Use this method to set the waveform sample interpretation, which applies to all channels in the waveform group.
  • For more information about sample interpretation refer to the "Waveform Sample Interpretation" (5400,1006) element in the DICOM standard.
  • The default value for sample interpretation is DicomWaveformSampleInterpretationType.Signed16BitLinear.
  • Make sure to call this method before you call any method that are used to set the data for a channel that is included in the waveform group. Such methods include SetChannelSamples8, SetChannelSamples16 and SetChannelSamples32
  • If you call this method after setting the data for one or more channels that are included in this group, then the method will convert the data for each of the channels to match the new sample interpretation.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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