THotPDF.RegisterCopiedFormFields Method
Registers a reusable copied form fields resource for the AcroForm 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 RegisterCopiedFormFields(const TargetPageIndices: array of Integer; RenameConflicts: boolean): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
TargetPageIndices | Input supplied to RegisterCopiedFormFields |
RenameConflicts | PDF resource name, packet name, profile name, or caller-defined identifier |
Return value
Returns an Integer value
Usage notes
- Use this API in the AcroForm 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