ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDE_content_get_default_color_space
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_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:

hContent Content to whose default color space is obtained.
hColorSpaceName An atom for the name of the desired color space. Must be an atom for one of DefaultRGB, DefaultCMYK, or DefaultGray.
lphDefaultColorSpace 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.

©2012. Accusoft Corporation. All Rights Reserved.