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

This function returns the total number of marks associated with the current HIGEAR image.

Declaration:

 
Copy Code
AT_ERRCOUNT ART_mark_count(
        HIGEAR hIGear, 
        LPDWORD lpMarkCount
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
lpMarkCount LPDWORD A far pointer that returns the total number of marks associated with the HIGEAR image.

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:

 
Copy Code
AT_ERRCOUNT nErrcount;
HIGEAR   hIGear;
DWORD   dwMarkCount;
nErrcount = ART_mark_count(hIGear, &dwMarkCount);