function GetXfaTemplate: TBytes;
Recupera i byte XML grezzi che rappresentano il packet template dalla struttura dei metadati XFA del documento
Richiede che il documento sia attivo (proprietà Active impostata su True)
template XFA
var
TemplateBytes: TBytes;
begin
if not Pdf1.Active then Exit;
TemplateBytes := Pdf1.GetXfaTemplate;
// elabora il template XML
end;