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

This function returns a flag that tells whether or not the geometry uses the local colors.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_geom_get_usecolors(
        HIG_VECT_ENTITY hEntity, 
        VECT_BOOL* lpUseColors
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Geometry entity handle.
lpUseColors VECT_BOOL* Buffer for the using colors flag.

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:

This flag is set when geometry initializes in IG_vect_geom_init() function call.