Sets a listener that is invoked when the history state changes.
A callback function that is invoked when the history state changes. The function receives three parameters: pageIndex (the current page index), canUndo (a boolean indicating if an undo operation is possible), and canRedo (a boolean indicating if a redo operation is possible).
Manages the history of editing actions within a PDF document, allowing for undo and redo operations. This class extends the
CPDFHistoryManagerBaseand provides methods to interact with the native PDF view.Example