ImageGear for C and C++ on Windows v20.5 - Updated
IG_PDE_colorspace_get_hival
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_COLORSPACE > IG_PDE_colorspace_get_hival

Gets the highest index for the color look-up table for an indexed color space.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_colorspace_get_hival (
        HIG_PDE_COLORSPACE hColorSpace,
        LPLONG lpnHiVal
);

Arguments:

Name Type Description
hColorSpace HIG_PDE_COLORSPACE An indexed color space.
lpnHiVal LPLONG The highest index (nHiVal) in the color look-up table.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Since the color table is indexed from zero to nHiVal, the actual number of entries is nHiVal + 1.

Is this page helpful?
Yes No
Thanks for your feedback.