Barcode-scanner control for canvas apps
Scans barcodes, QR codes, and data-matrix codes on an Android or iOS device. Not supported in a web browser.
The control opens a native scanner on an Android or iOS device. The scanner automatically detects a barcode, a QR code, or a data-matrix code when in view. The control doesn't support scanning in a web browser.
The control supports QR codes, data-matrix codes, and these types of barcodes:
- UPC A
- UPC E
- EAN 8
- EAN 13
- CODE 39
- CODE 128
- PDF 417
Value – Output property that contains the text value of the code that was scanned most recently.
Text - Text that appears on the button that activates the scanner.
OnScan – How an app responds when a barcode is successfully scanned.
BorderColor – The color of a control's border.
BorderStyle – Whether a control's border is Solid, Dashed, Dotted, or None.
BorderThickness – The thickness of a control's border.
DisplayMode – Whether the control allows user input (Edit), only displays data (View), or is disabled (Disabled).
FlashlightEnabled - Whether the flashlight is enabled automatically when the scanner is opened.
Height – The height of the button that activates the scanner.
Tooltip – Explanatory text that appears when the user hovers over a control.
Type - The type of code that was detected in the scan that succeeded most recently.
Visible – Whether a control appears or is hidden.
Width – The width of the button that activates the scanner.
X – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).
Y – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.