Barcode Ar Status Icon Annotation

Defined under the namespace Scandit.Datacapture.Barcode.Ar.Ui

BarcodeArStatusIconAnnotationAnchor

Added in version 7.3.0

The available anchor options for a status icon annotation.

Left

Added in version 7.3.0

The annotation is anchored at its left edge.

Right

Added in version 7.3.0

The annotation is anchored at its right edge.

Bottom

Added in version 7.3.0

The annotation is anchored at its bottom-center point.

Top

Added in version 7.3.0

The annotation is anchored at its top-center point.

BarcodeArStatusIconAnnotation
class BarcodeArStatusIconAnnotation : ScanditHTMLElement, BarcodeArAnnotation

Added in version 7.1.0

A tooltip annotation that toggles between collapsed and expanded states upon tap. In the collapsed state, only the icon is visible. In the expanded state, both the icon and text are displayed.

../../../_images/status_icon.png ../../../_images/status_icon_expanded.png

Collapsed state.

Expanded state.

constructor()
constructor()

Added in version 7.1.0

Constructs a new instance of this class.

create(barcode)
static create(barcode: Barcode): BarcodeArStatusIconAnnotation

Added in version 7.1.0

Register if needed and constructs a new web component instance of this class.

updatePosition(point, transformOrigin, rotationAngle)
updatePosition(point: Point,
        transformOrigin: Point,
        rotationAngle: number): void

Added in version 7.3.0

Called when the position of the element is updated.

barcode
get barcode(): Barcode

Added in version 7.1.0

The barcode instance for the annotation.

hasTip
hasTip: boolean

Added in version 7.1.0

Whether the status icon has a tip. Default is true.

icon
icon: ScanditIcon

Added in version 7.1.0

The icon. Default value is black ScanditIconType.ExclamationMark with a background color of #FBC02C.

text
text: string

Added in version 7.1.0

The text shown in the expanded state. Maximum allowed length is 20 characters, including whitespaces. If null, the status icon doesn’t expand on tap. Default is null.

textColor
textColor: Color

Added in version 7.1.0

The color of the text. Default is #121619.

backgroundColor
backgroundColor: Color

Added in version 7.1.0

The icon background color. Default is #FFFFFF.

annotationTrigger
annotationTrigger: BarcodeArAnnotationTrigger

Added in version 7.1.0

The trigger that causes the annotation to be presented. By default is BarcodeArAnnotationTrigger.HighlightTapAndBarcodeScan.

anchor
anchor: BarcodeArStatusIconAnnotationAnchor

Added in version 7.3.0

The annotation anchor. The default value is BarcodeArStatusIconAnnotationAnchor.Bottom.