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
| Name | Purpose |
|---|---|
ColorantName | Color component or color value used by the painting or resource operation |
AlternateCS | Fallback color space name written as the profile alternate color space |
TintTransform | Input used by RegisterSeparationFunc |
Return value
Returns an AnsiString value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised