ImageGear for C and C++ on Windows v19.9 - Updated
IG_vect_text_get_alignment
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Text Functions > IG_vect_text_get_alignment

This function gets flags defining an alignment of the text string.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_text_get_alignment(
        HIG_VECT_ENTITY hEntity, 
        long* lpAlignment
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
lpAlignment long* Buffer for the alignment flags. See enumIGVectAlignment enumeration for possible values.

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.

Sample:

None