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

The function returns a total count of regions in the figure.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_figure_get_regioncount(
        HIG_VECT_ENTITY hEntity, 
        long* lpCount
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
lpCount long* Buffer for the region count.

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