Classic UI
Our Classic UI components allow you to build custom screens which are flexible and fully customizable. It is a set of easy to integrate components (Views, Buttons, Handlers, Controllers, etc.) which can be embedded and extended in your custom screens.
Document Scanner View
The Document Scanner view exposes a configurable camera view that allows you to detect documents in real time.
Integration prerequisites
Required: Permission validation
Classic components do not automatically validate camera access permissions. It's up to developers to request and secure these permissions within their applications. Before integrating camera functionalities, ensure that your app has obtained the necessary permissions to provide users with a seamless experience.
Classic UI component: Document Scanner
- .NET MAUI
- .NET Android
- .NET iOS
Embed the component in your layout and use the OnSnappedDocumentImageResult
callback to handle the document result.
The OnUpdateDetectionStatus
callback provides the detection status of the document being scanned.
Customize the UI and behavior of DocumentScannerView
by using the component's properties. Each property is optional, and falls back to its default value if not specified.
More on the available properties can be found here.
You can utilize the DocumentScannerView
class from xmlns:classicComponent="clr-namespace:ScanbotSDK.MAUI.Document.ClassicComponent;assembly=DocumentSDK.MAUI"
to integrate document scanning functionality into your application seamlessly.
This component encapsulates the document scanning feature within a single UI component.
loading...
loading...
loading...
Use the class DocumentScannerView
which encapsulates the Document Scanning feature in one UI component. When using the DocumentScannerView
component, it is not required to work directly with the Camera view or to set up a finder view separately. Simply follow the steps below and you are ready to go.
To start using the document scanner feature, add the following view into your layout xml:
loading...
loading...
The main class of the Classic UI is SBSDKDocumentScannerViewController
.
Usually this view controller is embedded as a child view controller into another view controller, the parent view controller. The parent view controller usually acts as the delegate and processes the recognition results. You still have full control over the UI elements and can add additional views and buttons to your view controller. The classic component does not display results, instead it just forwards them to the delegate.
loading...
For a fully functional example, please see our .NET and MAUI example apps, on GitHub.
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get your free Trial License