This function queries the text string.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_ARTX_text_typed_text_get( HIG_ARTX_TEXT_TYPED hMark, LPSTR lpszTextBuffer, LPAT_UINT pnDataSize ); |
Arguments:
hMark | Annotation handle. |
lpszTextBuffer | Pointer to a buffer that is overwritten with a copy of the annotation text string. Specify NULL to determine the required size of this buffer. |
pnDataSize | Pointer to a variable that contains the size of the lpszTextBuffer buffer. |
Return Value:
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
- If lpszTextBuffer is NULL, then the number of bytes required to copy the annotation text string is written to pnDataSize.
- If lpszTextBuffer is not NULL, then the actual number of bytes copied to lpszTextBuffer is written to pnDataSize.