THPDFHeadlessDocument.SetTextFieldValue

Unit: HPDFHeadlessDocument

procedure SetTextFieldValue(FieldIndex: Integer; const Text: UnicodeString);

Set a writable Tx field value as a UTF-16BE PDF string and mark the indirect object owning it for incremental replacement

Rejects read-only and non-text fields, MaxLen violations, resource-limit violations, XFA forms and signed or certified documents; sets NeedAppearances=true but does not generate widget appearances

API contract and format boundaries · Linux portable core