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

This function queries the value of annotation text alignment.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_textalignment_get(
        HIG_ARTX_TEXT hMark,
        enumAlignModes* lpnAlign);

Arguments:

Name Type Description
hMark HIG_ARTX_TEXT Annotation handle.
lpnAlign enumAlignModes* Pointer to storage that is overwritten with the current text alignment.

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.