THotPDF.RegisterTransferFunctionState Method

Registers a reusable transfer function state resource for the document creation 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 RegisterTransferFunctionState(Combined: THPDFObject; const PerChannel: array of THPDFObject): AnsiString;

Unit

HPDFDoc

Parameters

NamePurpose
CombinedOne function applied to every output channel, or nil when a per-channel array is supplied
PerChannelUp to four channel functions ordered red or cyan, green or magenta, blue or yellow, and gray or black

Return value

Returns an AnsiString value

Usage notes

Related APIs