THPDFAcroFormField.SetReadOnly Method
Sets or clears the ReadOnly bit in the field /Ff flags and returns Self
Declaration
function SetReadOnly(Value: boolean= True): THPDFAcroFormField;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Value | Value to write or Boolean flag state to apply |
Return value
Returns a THPDFAcroFormField value
Toggles ReadOnly in the builder target's local /Ff mask while retaining all remaining bits exactly; its local lookup and fluent return contract are unchanged
See AcroForm field flag precision for signed mask values, inheritance and native builder behavior
Usage notes
- The default argument sets the flag