THotPDF.RegisterCalRGBColorSpace Method

Registers a reusable CalRGB colour space resource for the graphics and colour management workflow. Call it before page commands reference the resource name so colour, 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 supplied to RegisterCalRGBColorSpace
WhitePointYInput supplied to RegisterCalRGBColorSpace
WhitePointZInput supplied to RegisterCalRGBColorSpace
GammaRInput supplied to RegisterCalRGBColorSpace
GammaGInput supplied to RegisterCalRGBColorSpace
GammaBInput supplied to RegisterCalRGBColorSpace
MatrixInput supplied to RegisterCalRGBColorSpace
BlackPointXInput supplied to RegisterCalRGBColorSpace
BlackPointYInput supplied to RegisterCalRGBColorSpace
BlackPointZInput supplied to RegisterCalRGBColorSpace

Return value

Returns an AnsiString value

Usage notes

Related APIs