←Select platform

SetSampleInterpretation Method

Summary
Sets the waveform sample interpretation.
Syntax
C#
VB
C++
public bool SetSampleInterpretation( 
   DicomWaveformSampleInterpretationType interpretation 
) 
Public Function SetSampleInterpretation( _ 
   ByVal interpretation As DicomWaveformSampleInterpretationType _ 
) As Boolean 
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.

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.
Example

For an example, refer to WaveformGroupCount.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.