CommitEditTransaction

Document editing, Recovery

Description

Serializes the document after the active edit transaction and appends one undo state

Committing after an undo discards the prior redo branch. Byte-stable no-op snapshots close without adding history

Syntax

Delphi

Function TPDFlib.CommitEditTransaction: Integer;

ActiveX

Function PDFlib::CommitEditTransaction() As Long

Return values

1The transaction committed or contained no document changes
0No transaction is active, the selected document changed, or the state could not be persisted