ImageGear Professional v18.2 > API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_MARK > IG_ARTX_mark_user_data_get |
This function queries user data associated with mark.
Copy Code
|
|
---|---|
AT_ERRCOUNT IG_ARTX_mark_user_data_get( HIG_ARTX_MARK hMark, LPAT_VOID* lpData ); |
Name | Type | Description |
hMark | HIG_ARTX_MARK | Annotation handle. |
lpData | LPAT_VOID* | Pointer to storage for function result. |
Error count.
This function does not process image pixels.
None
Copy Code
|
|
---|---|
HIG_ARTX_PAGE hArtPage = NULL; //ArtX page handle //Create new ArtX page //load annotation data from file //Find first annotation on ArtX page |
The User Data that can be associated with annotation is a zero-terminated character string.
The lpData parameter receives a pointer to internal copy of the string previously associated with hMark annotation by an IG_ARTX_mark_user_data_set() call.
These functions only work with zero-terminated character strings and not with arbitrary pointers. When ArtX marks are saved to a file, user data is saved as well.