Skip to main content

Scan from PDF | Capacitor Barcode Scanner

The ScanbotBarcode.scanFromPdf function allows you to scan barcodes from a PDF file.

Scan Barcodes From PDF
loading...

Result object contains list of recognized barcodes as items. Check the full result object here.

Arguments

Set the pdfFileUri property as a part of the input arguments and in addition you can choose which barcode formats to accept, min/max length or any other property that is a part of the BarcodeScannerConfiguration.

With BarcodeFormatCommonConfiguration we can configure the scanner for all barcode formats at once. In addition, we can have configurations for a specific barcode format or a format group. For example, BarcodeFormatCommonTwoDConfiguration.

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get free trial license

On this page