PDFium Delphi Component Docs

GetXfaTemplate الطريقة

المكوّن: TPdf  ·  الوحدة: PDFium
استرداد بايتات XML الخام لحزمة template الخاصة بـ XFA من مستند PDF

الصياغة

function GetXfaTemplate: TBytes;

الوصف

Retrieves the raw XML bytes representing the template packet from the document's XFA metadata structure

تتطلب أن يكون المستند نشطًا (خاصية Active معيَّنة إلى True)

ملاحظات

مثال

var
  TemplateBytes: TBytes;
begin
  if not Pdf1.Active then Exit;
  TemplateBytes := Pdf1.GetXfaTemplate;
  // process template XML
end;

انظر أيضًا

GetXfaConfig GetXfaDatasets GetXfaFormPackets