RollbackStructTreeTransaction

Tagged PDF, structure repair

Description

Restores the document snapshot captured by BeginStructTreeTransaction and invalidates cursors bound to the rolled-back tree

Syntax

Delphi

Function TPDFlib.RollbackStructTreeTransaction: Integer;

Return values

1 when rollback succeeds, or 0 when no matching active transaction exists on the selected document

Remarks

Also clears the active structure-tree transaction state so another transaction may begin afterward