ImageGear Professional DLL v18.1 for Windows
IG_PDE_content_get_default_color_space
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_CONTENT > IG_PDE_content_get_default_color_space

Glossary Item Box

Gets a default color space from hContent.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_content_get_default_color_space(
        HIG_PDE_CONTENT hContent,
        HIG_PDF_ATOM hColorSpaceName,
        LPHIG_PDE_COLORSPACE lphDefaultColorSpace
);

Arguments:

Name Type Description
hContent HIG_PDE_CONTENT Content to whose default color space is obtained.
hColorSpaceName HIG_PDF_ATOM An atom for the name of the desired color space. Must be an atom for one of DefaultRGB, DefaultCMYK, or DefaultGray.
lphDefaultColorSpace LPHIG_PDE_COLORSPACE The desired color space in hContent. Returns NULL if hColorSpaceName does not correspond to a known default, such as DefaultRGB.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

See Section 4.5.4 in the PDF Reference for more information about default color spaces.

©2014. Accusoft Corporation. All Rights Reserved.