procedure RollbackPageObjectEditTransaction;
RollbackPageObjectEditTransaction restores the snapshot captured by BeginPageObjectEditTransaction, discards every journalled edit and closes the transaction
Use it after a failed CommitPageObjectEditTransaction or whenever the caller decides the edit group must not land
if not Pdf1.CommitPageObjectEditTransaction then
Pdf1.RollbackPageObjectEditTransaction;