RollbackEditTransaction

Document editing, Recovery

Description

Atomically restores the document snapshot captured by BeginEditTransaction and closes the transaction only after restoration succeeds

The selected document handle remains stable. Font, image, object, cursor, enumeration, and other non-document handles are invalidated because their underlying objects were replaced

Syntax

Delphi

Function TPDFlib.RollbackEditTransaction: Integer;

ActiveX

Function PDFlib::RollbackEditTransaction() As Long

Return values

1The transaction base was restored
0No transaction is active or the snapshot could not be loaded