THotPDF.RegisterStitchingFunction Method
Registers a reusable stitching 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 RegisterStitchingFunction(const Domain: array of Single; const Functions: array of THPDFObject; const Bounds: array of Single; const Encode: array of Single; const Range: array of Single): THPDFDictionaryObject;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Domain | Input used by RegisterStitchingFunction |
Functions | Input used by RegisterStitchingFunction |
Bounds | Input used by RegisterStitchingFunction |
Encode | Input used by RegisterStitchingFunction |
Range | Input used by RegisterStitchingFunction |
Return value
Returns a THPDFDictionaryObject 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