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
ColorantNameColor component or color value used by the painting or resource operation
AlternateCSFallback color space name written as the profile alternate color space
TintTransformInput used by RegisterSeparationFunc

Return value

Returns an AnsiString value

Usage notes

Related APIs