Barcode Capture Overlay

Defined under the namespace Scandit.Datacapture.Barcode.Ui

BarcodeCaptureOverlay
class BarcodeCaptureOverlay : DataCaptureOverlay

Added in version 6.5.0

Overlay for the BarcodeCapture capture mode that displays recognized barcodes on top of a data capture view.

The appearance of the visualized barcodes can be configured or turned off completely through the brush property.

constructor(mode)
constructor(mode: BarcodeCapture)

Added in version 7.6.0

Construct a new BarcodeCaptureOverlay. For the overlay to be displayed on screen, it must be added to a DataCaptureView.

viewfinder
viewfinder: Viewfinder | null

Added in version 6.5.0

Set the viewfinder. By default, the viewfinder is null. Set this to an instance of Viewfinder if you want to draw a viewfinder.

brush
brush: Brush

Added in version 6.5.0

The brush used for visualizing a recognized barcode in the UI. To turn off drawing of locations, set the brush to use both a transparent fill and stroke color. By default, the brush has a transparent fill color, a “Scandit”-blue stroke color, and a stroke width of 1.

shouldShowScanAreaGuides
shouldShowScanAreaGuides: boolean

Added in version 6.5.0

Whether to show scan area guides on top of the preview. This property is useful during development to visualize the current scan areas on screen. It is not meant to be used for production. By default this property is false.