ImageGear Professional v18.2 > API Reference Guide > MD Component API Reference > MD Component Objects > IGMedElemList Object > IGMedElemList Methods > MovePrev Method |
Moves the Current Index to the previous Data Element in the current level, or in the Data Element List, depending on the LevelOp parameter.
The LevelOp parameter tells the method how to move when the Current Element is positioned within a SQ Data Element. Set it to one of the two following constants:
Note that Sequence and Sequence Item delimiters are located on a deeper level than the Sequence or Sequence Item opening tag. For example, if SQ tag is located on level 0, then corresponding delimiter is on level 1.
MovePrev(LevelOp As enumIGMedLevelOption)
Name | Description |
---|---|
LevelOp | This parameter tells the method how to move the Current Element is positioned within an SQ. |
Returns the number of Data Elements remaining until the top is reached. If the returned value is 0, you are now at first DE, if the returned value is -1, you have attempted to move past the first DE.
N/A
Med