Added in internal v3.407.0, updated 2026-11-10
function TryGetContentEventEditState(out State: TPdfContentEventEditState): Boolean; overload; function TryGetContentEventEditState(const ContainerPath: TPdfCharacterSourcePath; out State: TPdfContentEventEditState): Boolean; overload;
Returns the current logical ledger Revision, EventCount, ObjectCount, StreamCount and a copied ContainerPath; this view remains separate from the original parser snapshot and has no ParserOffset
Successful insertion, declaration removal and supported native-object removal advance the revision; metadata edits do not shift positions
Counts are bounded to 65536 events, 1048576 native objects and 4096 streams; a page with missing or empty-array Contents and no objects exposes one prospective first stream slot
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, TryGetContentEventForEdit, TryCreateContentEventCursor, InsertContentEvent, RemoveContentEvent