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

This function calculates size of Data Element List in case of serialization.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI MED_ElemList_save_size_calc (
        HIGMEDELEMLIST hIGMedElemList,
        LPAT_DCM_ELEMLIST_SETTINGS lpElemListSettings,
        LPAT_UINT lpSize
);

Arguments:

Name Type Description
hIGMedElemList HIGMEDELEMLIST HIGMEDELEMLIST handle to the Data Element List object.
lpElemListSettings LPAT_DCM_ELEMLIST_SETTINGS A far pointer to AT_DCM_ELEMLIST_SETTINGS structure's object with control parameters for writing of element lists.
lpSize LPAT_UINT Function will fill here size of buffer, which will fit entire Element List.

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.