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 LongReturn values
| 1 | The transaction base was restored |
|---|---|
| 0 | No transaction is active or the snapshot could not be loaded |