ImageGear Professional v18.1 > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_COLORSPACE > IG_PDE_colorspace_get_ctable |
Gets the component information for an indexed color space.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_colorspace_get_ctable ( HIG_PDE_COLORSPACE hColorSpace, LPBYTE lpColorTable ); |
Name | Type | Description |
hColorSpace | HIG_PDE_COLORSPACE | The color space whose component information table is obtained. |
lpColorTable | LPBYTE | The color look-up table, which is nColorComponents * (nHiVal + 1) bytes long, where nColorComponents = number of components in the base hColorSpace. Each entry in the table contains nColorComponents bytes, and the table is indexed 0 to nHiVal, where nHiVal is the highest index in the color table. The table is indexed from 0 to nHiVal, thus the table contains nHiVal + 1 entries. |
Error count.
This function does not process image pixels.