ImageGear for C and C++ on Windows v19.6 - Updated
IG_vect_geom_get_coloralign
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Geometry Functions > IG_vect_geom_get_coloralign

This function returns a color alignment of the geometry.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_geom_get_coloralign(
        HIG_VECT_ENTITY hEntity, 
        long* lpColorAlign
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Geometry entity handle.
lpColorAlign long* The buffer for the color 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.

Sample:

None

Remarks:

Possible values are 3 (RGB) or 4 (RGBA).