LDicomWaveformGroup::SetWaveformPaddingValue

#include "Ltdic.h"

L_BOOL LDicomWaveformGroup::SetWaveformPaddingValue(bInclude, nPaddingValue)

L_BOOL bInclude;

/* dataset insertion/removal flag*/ 

L_INT32 nPaddingValue;

/* waveform padding value*/ 

Sets the waveform padding value.

Parameter

Description

bInclude

Boolean value that specifies whether the function should insert the "Waveform Padding Value" (5400,100A) element or remove it from the DICOM dataset. Possible values are:

 

Value

Meaning

 

TRUE

Insert the "Waveform Padding Value" (5400,100A) element (that corresponds to this waveform group) into the dataset and then set its value.

 

FALSE

Delete the "Waveform Padding Value" (5400,100A) element (that corresponds to this waveform group) from the dataset.

nPaddingValue

New waveform padding value.

Returns

TRUE

The waveform padding value was set successfully.

FALSE

An error occurred.

Comments

It is mandatory to set this value if the acquisition equipment adds padding. For more information refer to the "Waveform Padding Value" (5400,100A) element in the DICOM standard.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

Class Members, LDicomWaveformGroup::GetWaveformPaddingValue

Topics:

Working with DICOM Waveforms

Example

For an example, refer to LDicomWaveformChannel::SetChannelSamples8