THPDFPage.AttachSignatureFieldLock Method
Attaches a FieldMDP lock dictionary to a signature field so signing the field controls which AcroForm fields may change afterwards
Declaration
procedure AttachSignatureFieldLock(const FieldName: AnsiString; Action: THPDFFieldLockAction; const Fields: array of AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldName | AcroForm field name or field dictionary targeted by the helper |
Action | Selects whether all fields, only the listed fields, or all fields except the listed fields are locked |
Fields | Field names used by the Include or Exclude lock action |
Return value
This member returns no value
Usage notes
- The named signature field must already exist in the current document
- The
Fieldsarray is ignored whenActionselects all fields - Attach the lock before preparing byte ranges so the policy is covered by the signature