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 supplied to RegisterStitchingFunction |
Functions | Input supplied to RegisterStitchingFunction |
Bounds | Input supplied to RegisterStitchingFunction |
Encode | Input supplied to RegisterStitchingFunction |
Range | Input supplied to RegisterStitchingFunction |
Return value
Returns a THPDFDictionaryObject value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field or catalogue object is finalised
- Keep object, field and resource names, and returned handles, stable whilst the document is being finalised