THotPDF.RegisterPostScriptFunction Method

Registers a reusable post script function 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 RegisterPostScriptFunction(const Domain: array of Single; const Range: array of Single; const Source: AnsiString): THPDFStreamObject;

Unit

HPDFDoc

Parameters

NamePurpose
DomainInput used by RegisterPostScriptFunction
RangeInput used by RegisterPostScriptFunction
SourceInput used by RegisterPostScriptFunction

Return value

Returns a THPDFStreamObject value

Usage notes

Related APIs