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

This function loads Data Element List from file with name lpszFileName into hIGMedElemList.

Declaration:

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

Arguments:

Name Type Description
lpszFileName const LPSTR File name to read.
lpElemListSettings LPAT_DCM_ELEMLIST_SETTINGS A far pointer to AT_DCM_ELEMLIST_SETTINGS structure's object with control parameters for reading 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.