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 LongReturn values
| 1 | The transaction committed or contained no document changes |
|---|---|
| 0 | No transaction is active, the selected document changed, or the state could not be persisted |