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

This function sets the annotation text type.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_texttype_set(
        HIG_ARTX_TEXT hMark,
        enumIGArtXTextType nTextType
);

Arguments:

Name Type Description
hMark HIG_ARTX_TEXT Annotation handle.
nTextType enumIGArtXTextType The text type value to assign.

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