ImageGear for C and C++ on Windows v21.0 - Updated
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
In This Topic
    IG_PDE_colorspace_get_base_color_components
    In This Topic

    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.