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

This function sets the annotation text alignment.

Declaration

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_textalignment_set(
        HIG_ARTX_TEXT hMark,
        enumAlignModes nAlign
);

Arguments:

Name Type Description
hMark HIG_ARTX_TEXT Annotation handle.
nAlign enumAlignModes The text alignment 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.