ImageGear Professional DLL v18.1 for Windows
ART_mark_select_count
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > ART Component API Reference > ART Component Functions Reference > Mark Management Functions > ART_mark_select_count

Glossary Item Box

This function counts the number of marks selected by the user or selected by calling ART_mark_select() function.

Declaration:

  Copy Code
AT_ERRCOUNT ART_mark_select_count(
        HIGEAR hIGear, 
        LPWORD lpSelected
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
lpSelected LPWORD A far DWORD pointer that returns the number of selected marks.

Return Value:

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

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Sample:

Annotation

Example:

  Copy Code
HIGEAR hIGear; /* HIGEAR handle of image  */
AT_ERRCOUNT nErrcount; /* tally of IG errors on   */
/* stack     */
char szBuf[100]; /* Temporary string buffer */
nErrcount = ART_mark_select_count(hIGear, &dwMarkCount);
wsprintf(szBuf, _TEXT("There are %ld marks selected."), 
dwMarkCount);
MessageBox(HWND_DESKTOP,szBuf,NULL,MB_ICONINFORMATION);
©2014. Accusoft Corporation. All Rights Reserved.