ImageGear for C and C++ on Windows v19.4 - Updated
IG_PDE_colorspace_get_base_color_components
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_COLORSPACE > IG_PDE_colorspace_get_base_color_components

Gets the number of components in the base color space of an indexed color space.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_colorspace_get_base_color_components (
        HIG_PDE_COLORSPACE hColorSpace,
        LPLONG lpnColorComponents
);

Arguments:

Name Type Description
hColorSpace HIG_PDE_COLORSPACE The base color space.
lpnColorComponents LPLONG Number of components in hColorSpace.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

For example, for [/Indexed /DeviceRGB...], the number of components is 3.