This function counts the number of marks selected by the user or selected by calling ART_mark_select() function.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ART_mark_select_count(
HIGEAR hIGear,
LPWORD lpSelected
);
|
|
| Name | Type | Description |
|---|---|---|
| hIGear | HIGEAR | HIGEAR handle to the image. |
| lpSelected | LPWORD | A far DWORD pointer that returns the number of selected marks. |
Returns the number of ImageGear errors that occurred during the function call.
All pixel formats supported by ImageGear for C and C++.
Annotation
|
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); |
|