ImageGear Professional v18.2 > API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_TEXTFROMFILE > IG_ARTX_text_from_file_text_set |
This function updates the annotation text string.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_ARTX_text_from_file_text_set( HIG_ARTX_TEXT_FROM_FILE hMark, LPSTR lpszTextBuffer ); |
Name | Type | Description |
hMark | HIG_ARTX_TEXT_FROM_FILE | Annotation handle. |
lpszTextBuffer | LPSTR | A null-terminated string that will be assigned as the annotation text attribute. If lpszTextBuffer is NULL, then the annotation text is assigned the empty string. |
Returns the number of ImageGear errors that occurred during this function call. If successful, the return value is 0.
This function does not process image pixels.
The value of the text string is the path to a file. The annotation is drawn using the contents of this file.