L_DicomWaveGrpSetPaddingValue

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomWaveGrpSetPaddingValue(hDICOMWaveFormGroup, bInclude, nPaddingValue)

Sets the waveform padding value.

Parameters

HDICOMWAVEFORMGROUP hDICOMWaveFormGroup

A DICOM waveform group handle.

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

L_INT32 nPaddingValue

New waveform padding value.

Returns

Value Meaning
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

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomChannelSetSamples8.

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

LEADTOOLS DICOM C API Help