This function queries the annotation bounding rectangle. The value is independent of text wrapping and alignment, and is not the same as the visible rectangle on the screen. Use IG_ARTX_mark_hittest_bounds_get to get the device-dependent bounds.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_ARTX_text_bounds_get( HIG_ARTX_TEXT hMark, LPAT_RECTANGLE lpRect ); |
Name | Type | Description |
---|---|---|
hMark | HIG_ARTX_TEXT | Annotation handle. |
lpRect | LPAT_RECTANGLE | Pointer to storage that is overwritten with a copy of the current bounding rectangle. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.