GetEditJournalStatus
Document editing, Recovery
Description
Returns an integer property of the current edit journal without changing journal state
Syntax
Delphi
Function TPDFlib.GetEditJournalStatus(InfoID: Integer): Integer;ActiveX
Function PDFlib::GetEditJournalStatus(InfoID As Long) As LongParameters
| 0 | 1 when a journal is active |
|---|---|
| 1 | 1 when a transaction is open |
| 2 | Available undo count |
| 3 | Available redo count |
| 4 | Configured maximum undo count |
| 5 | 1 when persistent recovery is enabled |
Return values
The requested non-negative integer value, or 0 for an unsupported InfoID