ImageGear for C and C++ on Windows v19.1 - Updated
ART_mark_selected_next
API Reference Guide > ART Component API Reference > ART Component Functions Reference > Mark Management Functions > ART_mark_selected_next

This function returns the index of the next mark in the list of selected marks (or the selected mark following the mark index number currently pointed to).

Declaration:

 
Copy Code
AT_ERRCOUNT ART_mark_selected_next(
        HIGEAR hIGear,
        LPART_MARK_INDEX lpMarkIndex
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
lpMarkIndex LPART_MARK_INDEX A far pointer that returns the index of the first mark selected.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Sample:

Annotation

Example:

See example for ART_mark_selected_first() function.

Remarks:

In conjunction with ART_mark_selected_first() you can iterate through all of the selected marks.