ImageGear for C and C++ on Windows v20.3 - Updated
MED_DCM_DS_is_empty
API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Functions > MED_DCM_DS_is_empty

This function returns a TRUE through lpIsEmpty argument if the Data Set associated with HIGEAR has no Data Elements in it.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI MED_DCM_DS_is_empty(
        const HIGEAR hIGear, 
        LPBOOL lpIsEmpty
);

Arguments:

Name Type Description
hIGear const HIGEAR HIGEAR handle to the image.
lpIsEmpty LPBOOL A far pointer to a BOOL which returns the status of the Tags in the Data Set.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

This function does not process image pixels.

The image must have a DICOM DataSet attached to it. Use MED_DCM_DS_exists to check whether the image contains a DataSet.

Is this page helpful?
Yes No
Thanks for your feedback.