PDFium Component Docs

GetXfaConfig method

Component: TPdf  ·  Unit: PDFium
Mengambil byte XML mentah dari paket config XFA dari dokumen PDF

Syntax

function GetXfaConfig: TBytes;

Description

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

Requires the document to be active (Active property set to True) and contain XFA form content; returns an empty array otherwise

Remarks

Example

var
  ConfigBytes: TBytes;
begin
  if not Pdf1.Active then Exit;
  ConfigBytes := Pdf1.GetXfaConfig;
  // process ConfigBytes
end;

See Also

GetXfaDatasets GetXfaTemplate GetXfaFormPackets