ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects > Page Editing Objects and Elements > IGPDEContent Object > IGPDEContent Methods > GetDefaultColorSpace Method |
Gets a default color space from the current content.
See Section 4.5.4 in the PDF Reference for more information about default color spaces.
GetDefaultColorSpace (ColorSpaceName As IGPDFAtom) As
IGPDEColorSpace
Name | Description |
---|---|
ColorSpaceName | An atom for the name of the desired color space. Must be an atom for one of DefaultRGB, DefaultCMYK, or DefaultGray. |
IGPDEColorSpace Object , the desired color space. Returns NULL if ColorSpaceName does not correspond to a known default, such as DefaultRGB.