THPDFHeadlessDocument.ImportRichFormDataWithFamiliesToFile

function ImportRichFormDataWithFamiliesToFile(const FileName: string;
  const Bytes: SysUtils.TBytes; Format: THPDFHeadlessFormDataFormat;
  const Families: THPDFHeadlessRichTextFontFamilies;
  const AppearanceOptions: THPDFHeadlessTextAppearanceOptions;
  const Options: THPDFHeadlessFormDataOptions): Integer;

Import real FDF or XFDF fields into an independent output using named family selection for XHTML rich values; the first family supplies scalar text, button and choice fonts

The return value counts changed fields; canonical named rich values participate in existing semantic no-op comparison, which does not promise byte-identical reserialization

The loaded source graph remains unchanged; existing transaction, destination alias, field policy, security, authenticated signature, budget and cancellation rules apply

Named family behavior · Single-family form import