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 used by 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 catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised