-1

I want to undo and redo the pdf documents, which are viewed using pdftron. This is to be done to the document which are edited during runtime. I am using windows presentation Foundation(WPF) for this project.

1 Answers1

0

You would use the latest SDK version, and use the pdftron.SDF.UndoManager class, as described here.

https://www.pdftron.com/documentation/core/guides/features/edit/undoredo/ https://www.pdftron.com/api/PDFTronSDK/dotnet/pdftron.SDF.UndoManager.html

Most likely, to start with, you would set this up with just the annotations, and add the snapshot logic in ToolManager perhaps. Then you can add undo/redo buttons to iterate through the snapshots.

Ryan
  • 2,473
  • 1
  • 11
  • 14