API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Element List Functions > MED_ElemList_move_find_first |
This function searches the Element List associated with the hIGMedElemList for the first Tag of the Group Number specified by GroupNum.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_ElemList_move_find_first( HIGMEDELEMLIST hIGMedElemList, AT_MODE level_op, WORD GroupNum, LPBOOL lpTagFound ); |
Name | Type | Description |
---|---|---|
hIGMedElemList | HIGMEDELEMLIST | HIGMEDELEMLIST handle to the Data Element List object. |
level_op | AT_MODE |
A variable of type AT_MODE that tells the function how to move when it comes to an SQ. SQs are like indented outline items, allowing for hierarchies of Data Elements. Set this to one of the following constants:
|
GroupNum | WORD | Set this WORD variable to the Group Number for which to search. |
lpTagFound | LPBOOL | Returns TRUE is the Tag was found; FALSE otherwise. |
Returns the number of ImageGear errors that occurred during the function call.
This function does not process image pixels.
When the first Tag with group GroupNum is found, the Data Element is made the Current Data Element.
Which levels of the Element List will be considered depends on the setting of level_op.