Component: TPdf · Unit: PDFium
Menulis teks ke dalam buffer edit field formulir yang sedang difokuskan melalui FORM_ReplaceSelection, simetris dengan FocusedFormFieldText yang membaca buffer yang sama
Remarks
- Requires a focused field; returns False if FocusedFormFieldIndex is below zero or no page is active
- For AcroForm text and combo fields the value is committed to the /V entry when focus leaves the field, so it persists across save
- For XFA text fields the write lands only in the in-memory edit buffer — PDFium exposes no public API to reconcile XFA values back to the datasets packet, so an XFA write does NOT persist across save (see GetXfaDatasets for the read-side limitation)
- Internally calls FORM_SelectAllText then FORM_ReplaceSelection to overwrite the current selection
See Also