THotPDF.ClearXFAPackets Method
Clears stored xfa packets state from the XFA import and flattening workflow. Call it when reused document objects should stop carrying prior packets, thumbnails, mappings, or cached output settings
Declaration
procedure ClearXFAPackets;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member does not expose explicit parameters | |
Return value
This member does not return a value
Usage notes
- Use this API in the XFA import and flattening workflow before the affected page, resource, field, or catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized
- XFA workflows are rejected by PDF/A and PDF/X conformance modes, so flatten or remove packets before strict archival output