#include "Ltdic.h"

L_BOOL LDicomWaveformChannel::SetWaveformChannelNumber(bInclude, nChannelNumber)

Sets the "Waveform Channel Number" (003A,0202) element that corresponds to this channel.


L_BOOL bInclude

Boolean flag that specifies whether the function should insert the "Waveform Channel Number" (003A,0202) element or remove it from the DICOM dataset. Possible values are:

Value Meaning
TRUE Insert the Waveform Channel Number (003A, 0202) element (that corresponds to this channel) into the dataset and then set its value.
FALSE Delete the Waveform Channel Number (003A,0202) element (that corresponds to this channel) from the dataset.

L_INT32 nChannelNumber

New waveform channel number


Value Meaning
TRUE The waveform channel number was updated successfully.
FALSE An error occurred.


Set bInclude to TRUE to force the function to insert the element if it does not already exist in the dataset.

This function can also be used to delete the "Waveform Channel Number" (003A,0202) element that corresponds to this channel by setting bInclude to FALSE. In this case the nChannelNumber parameter is ignored.

Required DLLs and Libraries


Win32, x64

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

LEADTOOLS DICOM C++ Class Library Help