Scanbot Sdk Document Cleanup
API for document cleanup.
Required licence feature(s): ImageProcessing.
Functions
Returns whether a redo operation is currently available. This is true when at least one undo operation has been performed and not yet overwritten by a new cleanup.
Returns whether an undo operation is currently available. This is true when at least one cleanup operation has been performed and not yet fully undone.
Creates a copy of the current configuration value.
Re-applies the last undone cleanup operation. If no operations are available to redo, returns the current image unchanged. Performing a new cleanup operation after undo will clear the redo history.
Restores the original image, and clears the undo/redo history. After reset, both canUndo and canRedo return false.
cleans the masked areas up.
Inplace reconfigures the API instance with new settings.
Reverts the last cleanup operation. If no operations are available to undo, returns the current image unchanged. The number of available undo operations is limited by maxUndoRedoStackSize. When the operation limit is exceeded, the oldest operations cannot be undone.