ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / ART Component API Reference / ART Component Functions Reference / Mark Management Functions / ART_mark_count
In This Topic
    ART_mark_count
    In This Topic

    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);