ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / MD Component API Reference / MD Component Functions Reference / Data Set Functions / MED_DCM_DS_destroy
In This Topic
    MED_DCM_DS_destroy
    In This Topic

    This function destroys the Data Set associated with the HIGEAR image specified.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI MED_DCM_DS_destroy(HIGEAR hIGear);
    

    Arguments:

    Name Type Description
    hIGear HIGEAR HIGEAR handle of the image whose Data Set will be destroyed.

    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.

    Remarks:

    Once the Data Set is removed, the image is just like any other image loaded into ImageGear.