ImageGear for C and C++ on Windows v19.10 - Updated
MED_ElemList_write_file
API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Element List Functions > MED_ElemList_write_file

This function saves Data Element List from HIGMedElemList into file.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI MED_ElemList_write_file (
        const LPSTR lpszFileName,
        LPAT_DCM_ELEMLIST_SETTINGS lpElemListSettings,
        HIGMEDELEMLIST hIGMedElemList
);

Arguments:

Name Type Description
lpszFileName const LPSTR File name, where will be serialized Data Element List.
lpElemListSettings LPAT_DCM_ELEMLIST_SETTINGS A far pointer to AT_DCM_ELEMLIST_SETTINGS structure's object with control parameters for writing of element lists.
hIGMedElemList 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.