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 supplied to RegisterExponentialFunction |
C0 | Input supplied to RegisterExponentialFunction |
C1 | Input supplied to RegisterExponentialFunction |
Exponent | Input supplied to RegisterExponentialFunction |
Range | Input supplied to RegisterExponentialFunction |
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