THotPDF.RegisterSeparationFunc Method

Registers a reusable separation func 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 RegisterSeparationFunc(const ColorantName: AnsiString; const AlternateCS: AnsiString; TintTransform: THPDFObject): AnsiString;

Unit

HPDFDoc

Parameters

NamePurpose
ColorantNameColour component or colour value used by the painting or resource operation
AlternateCSFallback colour space name written as the profile alternate colour space
TintTransformInput supplied to RegisterSeparationFunc

Return value

Returns an AnsiString value

Usage notes

Related APIs