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

Returns the index of the Current Data Element in the Element List associated with the hIGMedElemList.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI MED_ElemList_curr_index_get(
        HIGMEDELEMLIST hIGMedElemList,
        LPDWORD lpIndex
);

Arguments:

Name Type Description
hIGMedElemList HIGMEDELEMLIST HIGMEDELEMLIST handle to the Data Element List object.
lpIndex LPDWORD A far pointer of type DWORD which returns with the index of the Current Data Element .

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.

Remarks:

This function indexes through all levels of the Element List. The index of the first Data Element in the table is 0.

To move to a specific index and make it the Current Data Element, use MED_ElemList_move_index().