function GetXfaConfig: TBytes;
从文档的 XFA 元数据结构检索表示 config 包的原始 XML 字节
要求文档处于活动状态(Active 属性设置为 True)并包含 XFA 表单内容;否则返回空数组
var
ConfigBytes: TBytes;
begin
if not Pdf1.Active then Exit;
ConfigBytes := Pdf1.GetXfaConfig;
// process ConfigBytes
end;