THotPDF.RegisterExponentialFunction Method
Registers a reusable exponential 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 RegisterExponentialFunction(const Domain: array of Single; const C0: array of Single; const C1: array of Single; Exponent: Double; const Range: array of Single): THPDFDictionaryObject;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Domain | Input used by RegisterExponentialFunction |
C0 | Input used by RegisterExponentialFunction |
C1 | Input used by RegisterExponentialFunction |
Exponent | Input used by RegisterExponentialFunction |
Range | Input used by RegisterExponentialFunction |
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