THotPDF.SetFormFieldReadOnly Method
Sets form field read only state for subsequent AcroForm output. The setting affects later page drawing, page dictionary entries, conformance metadata, or text emission rather than already-written content
Declaration
procedure SetFormFieldReadOnly(FieldIndex: Integer; ReadOnly: boolean);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldIndex | AcroForm field name or field dictionary targeted by the helper |
ReadOnly | Input used by SetFormFieldReadOnly |
Return value
This member does not return a 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