ImageGear for C and C++ on Windows v19.6 - Updated
IG_ARTX_text_texttype_get
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_TEXT > IG_ARTX_text_texttype_get

This function queries the annotation text type.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_texttype_get(
        HIG_ARTX_TEXT hMark,
        enumIGArtXTextType* lpnTextType
);

Arguments:

Name Type Description
hMark HIG_ARTX_TEXT Annotation handle.
lpnTextType enumIGArtXTextType* Pointer to storage that is overwritten with the current text type value.

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:

Establishes the context of the annotation’s text string as either literal text or a file path. See enumIGArtXTextType description for additional info.