L_DicomWaveGrpSetPaddingValue

Summary

Sets the waveform padding value.

Syntax

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomWaveGrpSetPaddingValue(hDICOMWaveFormGroup, bInclude, nPaddingValue)

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 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.