ImageGear Professional > 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.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_colorspace_get_hival ( HIG_PDE_COLORSPACE hColorSpace, LPLONG lpnHiVal ); |
Name | Type | Description |
hColorSpace | HIG_PDE_COLORSPACE | An indexed color space. |
lpnHiVal | LPLONG | The highest index (nHiVal) in the color look-up table. |
Error count.
This function does not process image pixels.
Since the color table is indexed from zero to nHiVal, the actual number of entries is nHiVal + 1.