ImageGear Professional for Linux
ART_mark_select_count

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.

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

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback