ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDE_colorspace_create
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_COLORSPACE > IG_PDE_colorspace_create

Glossary Item Box

Creates a new color space object of the specified type.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_colorspace_create(
        HIG_PDF_ATOM hFamily,
        LPAT_PDE_COLORDATA lpColorData,
        LPHIG_PDE_COLORSPACE lphColorSpace );

Arguments:

hFamily

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.
lpColorData Color data for the type of color space you want to create.
lphColorSpace Handle to the new color space.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

©2012. Accusoft Corporation. All Rights Reserved.