ImageGear Professional v18.2 > 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.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_ElemList_curr_index_get( HIGMEDELEMLIST hIGMedElemList, LPDWORD lpIndex ); |
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 . |
Returns the number of ImageGear errors that occurred during the function call.
This function does not process image pixels.
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().