Added in internal v3.407.0, updated 2026-11-10
function TryGetContentEventForEdit(Index: Integer; out Info: TPdfContentEventEditInfo): Boolean; overload; function TryGetContentEventForEdit(const ContainerPath: TPdfCharacterSourcePath; Index: Integer; out Info: TPdfContentEventEditInfo): Boolean; overload;
Reads Kind, ObjectBoundary, StreamIndex, ParentIndex, MatchingIndex, Depth, Mark, Revision and a copied ContainerPath from the current logical ledger
The adapter checks count bounds, reciprocal opener/close ownership, enclosing scope topology and an unchanged revision around the read; BMC/BDC and MP/DP reflect current parameter presence
Mark is a borrowed native handle and must be discarded after mutation, generation, rollback or document/page replacement; this result deliberately contains no fabricated original parser offset
An empty ContainerPath selects the current page; a nonempty path selects a private Form invocation using a page-object index followed by Form child indexes, all zero-based, with depth at most 64
These optional native procedures are included in the internal v3.407.0 bundled modules; external older DLLs still load, queries return False and mutation attempts reject when the required extension is absent
Failed state reads clear Revision to zero and counts to minus one; failed event reads clear handles and paths, use cekUnknown and set boundary, stream, parent and match to minus one; failed cursor creation clears ownership and sets boundary, event and stream to minus one
Logical availability does not promise that every graphics style can be regenerated; mutations join one deferred preserving transaction, and a failed commit restores its snapshot without falling back to ordinary generation
The bounded profile allows 64 open scopes, 16 MiB of captured scalar/key/tag bytes, 262144 direct node/entry visits and parameter-tree depth 32; paragraph metadata scans have a separate 1048576-unit work budget
TryGetContentEvent, BeginPageObjectEditTransaction, TryGetContentEventEditState, TryCreateContentEventCursor, InsertContentEvent, RemoveContentEvent