THPDFHeadlessDocument.SetButtonFieldValueWithFamilies
procedure SetButtonFieldValueWithFamilies(FieldIndex: Integer;
const OnState: AnsiString; Checked: Boolean;
const Families: THPDFHeadlessRichTextFontFamilies;
const Options: THPDFHeadlessTextAppearanceOptions);
Generate genuine checkbox or radio marks using supplied regular fonts and update the field export state and every widget selection consistently
The fallback option defaults to False; a native call explicitly regenerates the appearance, including when the existing value is equal, and requires the same editable-field, encryption, authenticated DocMDP and FieldMDP permissions as the existing single-font method
Generation is transactional for the loaded field graph; a missing glyph, invalid font, budget failure or cancellation preserves the previous field and appearances
Use SaveToFile to publish the updated graph to an independent destination