THotPDF.RegisterCalRGBColorSpace Method

Registers a reusable cal rgb color space resource for the graphics and color management workflow. Call it before page commands reference the resource name so color, pattern, font, image, or profile data is available in the PDF resource tree

Declaration

function RegisterCalRGBColorSpace(WhitePointX, WhitePointY, WhitePointZ, GammaR, GammaG, GammaB: Single; const Matrix: array of Single; BlackPointX: Single = 0; BlackPointY: Single = 0; BlackPointZ: Single = 0): AnsiString;

Unit

HPDFDoc

Parameters

NamePurpose
WhitePointXInput used by RegisterCalRGBColorSpace
WhitePointYInput used by RegisterCalRGBColorSpace
WhitePointZInput used by RegisterCalRGBColorSpace
GammaRInput used by RegisterCalRGBColorSpace
GammaGInput used by RegisterCalRGBColorSpace
GammaBInput used by RegisterCalRGBColorSpace
MatrixInput used by RegisterCalRGBColorSpace
BlackPointXInput used by RegisterCalRGBColorSpace
BlackPointYInput used by RegisterCalRGBColorSpace
BlackPointZInput used by RegisterCalRGBColorSpace

Return value

Returns an AnsiString value

Usage notes

Related APIs