Laserline Viewfinder

Defined in namespace Scandit.DataCapture.Core.UI.Viewfinder

LaserlineViewfinderStyle

Added in version 6.8.0

The style of the LaserlineViewfinder.

Deprecated since version 6.26: This enum is deprecated and will be removed in the future.

Legacy

Added in version 6.8.0

The legacy style from versions before 6.8.

Animated

Added in version 6.8.0

New style from version 6.8 onwards with an animation.

LaserlineViewfinder
class LaserlineViewfinder : IViewfinder

Added in version 6.2.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 via the BarcodeCaptureOverlay.Viewfinder property.

Deprecated since version 6.26: This Viewfinder is deprecated and will be removed in the future.

Create()
static LaserlineViewfinder Create(LaserlineViewfinderStyle style)

Added in version 6.8.0

Returns a new laserline viewfinder in the style provided.

Create()
static LaserlineViewfinder Create()

Added in version 6.2.0

Constructs a new laserline viewfinder with LaserlineViewfinderStyle.Legacy.

Width
FloatWithUnit Width { get;set; }

Added in version 6.2.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
int EnabledColor { get;set; }

Added in version 6.2.0

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

DisabledColor
int DisabledColor { get;set; }

Added in version 6.2.0

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

Style
LaserlineViewfinderStyle Style { get; }

Added in version 6.8.0

The style of the viewfinder.