ImageGear .NET - Updated
GetDefaultColorSpace Method




ImageGear23.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDEContent Class : GetDefaultColorSpace Method
An atom for the name of the desired color space. Must be an atom for one of DefaultRGB, DefaultCMYK, or DefaultGray.
Gets a default color space from the current content.
Syntax
'Declaration
 
Public Function GetDefaultColorSpace( _
   ByVal colorSpaceName As ImGearPDFAtom _
) As ImGearPDEColorSpace
'Usage
 
Dim instance As ImGearPDEContent
Dim colorSpaceName As ImGearPDFAtom
Dim value As ImGearPDEColorSpace
 
value = instance.GetDefaultColorSpace(colorSpaceName)
public ImGearPDEColorSpace GetDefaultColorSpace( 
   ImGearPDFAtom colorSpaceName
)
public: ImGearPDEColorSpace* GetDefaultColorSpace( 
   ImGearPDFAtom* colorSpaceName
) 
public:
ImGearPDEColorSpace^ GetDefaultColorSpace( 
   ImGearPDFAtom^ colorSpaceName
) 

Parameters

colorSpaceName
An atom for the name of the desired color space. Must be an atom for one of DefaultRGB, DefaultCMYK, or DefaultGray.

Return Value

ImGearPDEColorSpace class object. Returns Null, if ColorSpaceName does not correspond to a known default, such as DefaultRGB.
Remarks

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

See Also

Reference

ImGearPDEContent Class
ImGearPDEContent Members
ImGearPDEColorSpace Class
ImGearPDFAtom Class