ImageGear for C and C++ on Windows v19.10 - Updated
IG_ARTX_text_from_file_text_get
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_TEXTFROMFILE > IG_ARTX_text_from_file_text_get

This function queries the text string.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_from_file_text_get(
        HIG_ARTX_TEXT_FROM_FILE hMark,
        LPSTR lpszTextBuffer,
        LPAT_UINT pnDataSize
);

Arguments:

Name Type Description
hMark HIG_ARTX_TEXT_FROM_FILE Annotation handle.
lpszTextBuffer LPSTR 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 LPAT_UINT Pointer to a variable that contains the size of the lpszTextBuffer buffer.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If successful, the return value is 0.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks: