QMedical Command Reference
DICOM Data
|
|
| QMed_GetElementData(imageRef; elementRef; elementData):error | |||
|
|
imageRef | Longint | Reference to the image |
|
|
elementRef | Longint | Element reference |
|
|
elementData | BLOB | Element data |
|
|
error | Longint | Error result |
Returns the content of a data element as a BLOB.
The DICOM image file is specified by imageRef. If imageRef is not a valid image reference, error qmed_paramErr is returned. If imageRef is a valid image reference but the image is not in the DICOM format, error qmed_badComponentType is returned.
Parameter elementRef specifies the data element. The element reference must have been previously obtained with a call to QMed_GetElements or QMed_FindElement. If elementRef is not a valid element reference, error qmed_badDataElementRef is returned.
Parameter elementData receives the raw data of the element.