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

This function sets alignment flags for the text strings.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_text_set_alignment(
        HIG_VECT_ENTITY hEntity, 
        long nAlignment
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
nAlignment long Alignment flags being set.

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