API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Functions > MED_DCM_DS_destroy |
This function destroys the Data Set associated with the HIGEAR image specified.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_DCM_DS_destroy(HIGEAR hIGear); |
Name | Type | Description |
---|---|---|
hIGear | HIGEAR | HIGEAR handle of the image whose Data Set will be destroyed. |
Returns the number of ImageGear errors that occurred during the function call.
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. |
Once the Data Set is removed, the image is just like any other image loaded into ImageGear.