THotPDF.RegisterHalftoneType1 Method
Registers a reusable halftone type1 resource for the document creation workflow. Call it before page commands reference the resource name so color, pattern, font, image, or profile data is available in the PDF resource tree
Declaration
function RegisterHalftoneType1(Frequency, angle: Double; const SpotFunctionName: AnsiString; SpotFunction: THPDFStreamObject= nil; AccurateScreens: boolean= false; TransferFunction: THPDFStreamObject= nil; TransferFunctionDefault: boolean= false; const HalftoneName: AnsiString= '') : THPDFDictionaryObject;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Frequency | Input used by RegisterHalftoneType1 |
angle | Input used by RegisterHalftoneType1 |
SpotFunctionName | PDF resource name, packet name, profile name, or caller-defined identifier |
SpotFunction | Input used by RegisterHalftoneType1 |
AccurateScreens | Input used by RegisterHalftoneType1 |
TransferFunction | Input used by RegisterHalftoneType1 |
TransferFunctionDefault | Input used by RegisterHalftoneType1 |
HalftoneName | PDF resource name, packet name, profile name, or caller-defined identifier |
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 finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized