Mobile Document Scanner API Reference / DocumentState
Interface: DocumentState
Defined in: src/results.ts:153
The state of the document after a change: the number of its pages, the current page, and what undo and redo can do, with this change in the history.
Properties
currentIndex
readonlycurrentIndex:number
Defined in: src/results.ts:160
The index of the page that the edit screen shows, or else of the newest page. -1 while the document is empty.
pageCount
readonlypageCount:number
Defined in: src/results.ts:155
The number of pages in the document.
redoCount
readonlyredoCount:number
Defined in: src/results.ts:164
How many changes redo can make again.
undoCount
readonlyundoCount:number
Defined in: src/results.ts:162
How many changes undo can take back.