Laserline Viewfinder#

Defined under the namespace Scandit.Datacapture.Core.Ui

LaserlineViewfinder#
class LaserlineViewfinder : Viewfinder

Added in version 6.1.0

A horizontal laser line with a Scandit logo underneath. Toggles color depending on the capture mode enabled property. The laserline is centered on the data capture view’s point of interest.

To use this viewfinder, create a new instance and assign it to the overlay, e.g. the barcode capture overlay by assigning to the BarcodeCaptureOverlay.viewfinder property.

constructor()#
constructor()

Added in version 6.1.0

Returns a new laserline viewfinder with default parameters.

width#
width: NumberWithUnit

Added in version 6.1.0

The width of the laser line. The laser line is centered on the point of interest of the view. When specifying the width with relative units, the width is measured relative to the view’s width minus the horizontal scan area margins.

enabledColor#
enabledColor: Color

Added in version 6.1.0

The color to be used when recognition is enabled/active.

disabledColor#
disabledColor: Color

Added in version 6.1.0

The color to be used when recognition is disabled/inactive.