PDFium Delphi Component Docs

CommitEditTransaction method

Component: TPdf  ·  Unit: PDFium

Syntax

function CommitEditTransaction: Boolean;

Description

Captures the final reproducible snapshot and stores the changed middle region as removed and inserted bytes after trimming the longest common prefix and suffix

The result is True when a journal entry was added and False when the document did not change

Failure behaviour

Snapshot, validation, allocation, or journal-budget failure reloads the Begin snapshot and leaves neither an active transaction nor a partial entry

See Also

BeginEditTransaction, UndoEdit, GetEditJournalInfo