THPDFPage.AddSignatureField Method
Adds signature field data to the digital signature and PAdES workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps
Declaration
procedure AddSignatureField(const FieldName: AnsiString; Rectangle: TRect; Flags: THPDFFormFieldFlags= []);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldName | AcroForm field name or field dictionary targeted by the helper |
Rectangle | Page area or widget rectangle where the operation is applied |
Flags | Input used by AddSignatureField |
Return value
This member does not return a value
Usage notes
- Use this API in the digital signature and PAdES 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
- Reserve signature space before inserting external CMS or timestamp bytes, and keep byte ranges stable after preparation
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak