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_update_from
In This Topic
    MED_DCM_DS_update_from
    In This Topic

    This function copies the Element List associated with hSrcList to the image associated with hIGear.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI MED_DCM_DS_update_from(
            HIGEAR hIGear,
            HIGMEDELEMLIST hSrcList
    );
    

    Arguments:

    Name Type Description
    hIGear HIGEAR HIGEAR handle to an image, from which the Element List will be copied.
    hSrcList HIGMEDELEMLIST HIGMEDELEMLIST handle to the Data Element List object.

    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.