LEADTOOLS DICOM C DLL Help > Function References > L_DicomGetCountValue |
#include "Ltdic.h"
L_LTDIC_API L_UINT32 L_DicomGetCountValue(hDS, pElement)
HDICOMDS hDS; |
/* a DICOM handle */ |
pDICOMELEMENT pElement; |
/* pointer to a DICOMELEMENT structure */ |
Returns the number of values stored in the Value Field of the specified element.
Parameter |
Description |
hDS |
A DICOM handle. |
pElement |
Pointer to a DICOMELEMENT structure within the Data Set. |
Returns
The number of values stored in the Value Field of the specified element.
Comments
For more information on retrieving multiple values from the Value Field, refer to the L_DicomGetxxxValue functions.
To minimize memory use in your application, you can free the memory allocated for this function to return the value by calling L_DicomFreeValue following the call to this function.
Required DLLs and Libraries
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, Linux.
See Also
Example
For an example, refer to L_DicomGetCharValue.