THPDFHeadlessDocument.SetRichTextFieldValueWithFamilies
procedure SetRichTextFieldValueWithFamilies(FieldIndex: Integer;
const Runs: THPDFHeadlessRichTextRuns;
const Families: THPDFHeadlessRichTextFontFamilies;
const Options: THPDFHeadlessTextAppearanceOptions);
Transactionally regenerate every widget appearance with selected family fonts and update V, canonical RV and the RichText flag together
The existing read-only, maximum-length, password, comb, file-select, encryption, authenticated signature and field-lock policies apply; failures leave the loaded field graph unchanged
Use SaveToFile to publish the prepared graph to an independent destination; the source remains read-only