THotPDF.InvalidateLoadedFormRelationshipCache

Marks all cached loaded form relationships stale without rebuilding them

Declaration

procedure InvalidateLoadedFormRelationshipCache;

HotPDF high-level loaded field, annotation, merge, XFA, and page mutation APIs maintain or invalidate the cache automatically

Call this method after raw object-graph edits that can change /AcroForm /Fields, field names, /Parent, /Kids, widget subtype, page /Annots, or widget /P links

The method is inexpensive and idempotent while the cache is already invalid

See also: AcroForm relationship cache, GetLoadedFormRelationshipCacheStatistics