ImageGear for C and C++ on Linux v20.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_name

Gets the name of a color space object.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_colorspace_get_name (
        HIG_PDE_COLORSPACE hColorSpace,
        LPHIG_PDF_ATOM lphName 


Name Type Description
hColorSpace HIG_PDE_COLORSPACE A color space object.

The color space object's name. Supports the following PDF color spaces:

  • Device-dependent names: DeviceCMYK, DeviceGray, DeviceN, or DeviceRGB.
  • Device-independent names: CalGray, CalRGB, Lab, or ICCBased.
  • Special names: Indexed, Pattern, or Separation.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

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