ImageGear for C and C++ on Windows v19.8 - Updated
IG_PDE_colorspace_get_name
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.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_colorspace_get_name (
        HIG_PDE_COLORSPACE hColorSpace,
        LPHIG_PDF_ATOM lphName 
);

Arguments:

Name Type Description
hColorSpace HIG_PDE_COLORSPACE A color space object.
lphName LPHIG_PDF_ATOM

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.