THotPDF.ApplyLoadedObjectGraphJSONPatch Method

Applies add, replace, and remove operations through RFC 6901 paths after validating typed PDF values and indirect references

Declaration

function ApplyLoadedObjectGraphJSONPatch(const PatchJSON: AnsiString;
    out AInfo: THPDFObjectGraphPatchInfo): boolean;

Validation

The operation rejects malformed values, unresolved references, invalid graph cycles, invalid base64, and stream data whose declared length is inconsistent

A successful patch requests a deterministic full rewrite

Object Graph Editing and Page Assembly