Available in LEADTOOLS Medical Imaging toolkits. |
#include "Ltdic.h"
L_LTDIC_API L_BOOL L_DicomWaveGrpSetPaddingValue(hDICOMWaveFormGroup, bInclude, nPaddingValue)
HDICOMWAVEFORMGROUP hDICOMWaveFormGroup; |
/* a DICOM waveform group handle */ |
L_BOOL bInclude; |
/* dataset insertion/removal flag */ |
L_INT32 nPaddingValue; |
/* waveform padding value */ |
Sets the waveform padding value.
Parameter |
Description |
hDICOMWaveFormGroup |
A DICOM waveform group handle |
|
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 |
Win32, x64
See Also
Functions: |
Topics: |
Example
For an example, refer to L_DicomChannelSetSamples8.