Skip to main content

ButtonConfiguration

A configuration class used to alter the default buttons.

Properties​

buttonEditRotate?​

optional buttonEditRotate: DocutainButton;

The button that rotates the current page.


buttonEditCrop?​

optional buttonEditCrop: DocutainButton;

The button that opens the cropping functionality.


buttonEditFilter?​

optional buttonEditFilter: DocutainButton;

The button that opens the filter functionality.


buttonEditArrange?​

optional buttonEditArrange: DocutainButton;

The button that opens the page arrangement functionality.


buttonEditRetake?​

optional buttonEditRetake: DocutainButton;

The button that starts the process of replacing the current page with a new scan.


buttonEditDelete?​

optional buttonEditDelete: DocutainButton;

The button that deletes the current page or opens a dialog with options if multiple pages are available.


buttonEditFinish?​

optional buttonEditFinish: DocutainButton;

The button that finishes the scan process.


buttonCropExpand?​

optional buttonCropExpand: DocutainButton;

The button within the cropping functionality that expands the current cropping rectangle to the whole page.


buttonCropSnap?​

optional buttonCropSnap: DocutainButton;

The button within the cropping functionality that snaps the current cropping rectangle to the detected document.


buttonCropFinish?​

optional buttonCropFinish: DocutainButton;

The button within the cropping functionality that finishes the manual cropping process according to the current cropping rectangle.


buttonScanAutoCaptureOn?​

optional buttonScanAutoCaptureOn: DocutainButton;

The button within the scan functionality that is shown when automatic capture is activated.


buttonScanAutoCaptureOff?​

optional buttonScanAutoCaptureOff: DocutainButton;

The button within the scan functionality that is shown when automatic capture is deactivated.


buttonScanTorch?​

optional buttonScanTorch: DocutainButton;

The button within the scan functionality that toggles the torch.


buttonScanCapture?​

optional buttonScanCapture: DocutainButton;

The button within the scan functionality that triggers a manual image capture.


buttonScanFinish?​

optional buttonScanFinish: DocutainButton;

The button within the scan functionality that finishes the current scan process and leads to the editing page.


buttonConfirmationFinish?​

optional buttonConfirmationFinish: DocutainButton;

The button on the confirmation page that finishes the scan process. See [DocumentScannerConfiguration.confirmPages].


buttonEditAddPage?​

optional buttonEditAddPage: DocutainButton;

The button on the edit page that opens the scan screen to add a new page.


buttonScanImport?​

optional buttonScanImport: DocutainButton;

The button on the scan page that opens a file importer.