Added in internal v3.407.0, updated 2026-11-10
procedure RemoveContentEvent(const Cursor: TPdfContentEventCursor);
Requires a fresh cursor immediately before the selected event, with its exact ObjectBoundary and StreamIndex; selects one BMC/BDC opener or MP/DP point
Removing an opener removes its matching EMC as well whilst retaining all paint objects and nested declarations; independent EMC removal, MCID-bearing declaration removal, existing member disagreement and tagged member changes reject before mutation
Internal v3.408.0 extends ActualText removal to affected nested Form branches: it conservatively invalidates surviving PdfParagraphClusterMap coordinate tables on direct members and all descendants of affected Form invocations, including sibling-local first-glyph PCM1 columns
Descendant ActualText strings and paint content remain intact, including an inner paragraph with its own ActualText; regenerate an invalidated table before reusing its saved glyph-to-logical coordinates
Unrelated invocations, unselected nested branches and named-resource users retain their tables; horizontal PCM1 tables describing several glyphs in one text object are not treated as cross-object columns when raw glyph counts are available
The read-only removal plan checks descendant queries, native declaration identities, path cycles, total Form depth at most 64 and a shared 1048576-unit scan budget before mutation; failure during post-splice invalidation restores the entire transaction snapshot and closes the transaction
The native ledger procedures and DLLs remain those delivered in internal v3.407.0; this extension changes the Pascal planner and requires no new native export
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, TryGetContentEventForEdit, TryCreateContentEventCursor, InsertContentEvent