Barcode Pick View Highlight Style Response

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

BarcodePickViewHighlightStyleResponse
class BarcodePickViewHighlightStyleResponse

Added in version 8.2.0

Create this object to respond to highlight style queries.

withBrushAndIcon(brush, icon, statusIconStyle)
static withBrushAndIcon(brush: Brush | null,
        icon: string | null,
        statusIconStyle: BarcodePickStatusIconStyle | null): BarcodePickViewHighlightStyleResponse

Added in version 8.2.0

Constructs a new instance with the passed brush and icon.

withSelectedBrushAndIcon(brush, selectedBrush, icon, selectedIcon, statusIconStyle)
static withSelectedBrushAndIcon(brush: Brush | null,
        selectedBrush: Brush | null,
        icon: string | null,
        selectedIcon: string | null,
        statusIconStyle: BarcodePickStatusIconStyle | null): BarcodePickViewHighlightStyleResponse

Added in version 8.2.0

Constructs a new instance with the passed brushes and icons.

withSelectedBrushAndScanditIcon(brush, selectedBrush, scanditIcon, selectedScanditIcon, statusIconStyle)
static withSelectedBrushAndScanditIcon(brush: Brush | null,
        selectedBrush: Brush | null,
        scanditIcon: ScanditIcon | null,
        selectedScanditIcon: ScanditIcon | null,
        statusIconStyle: BarcodePickStatusIconStyle | null): BarcodePickViewHighlightStyleResponse

Added in version 8.2.0

Constructs a new instance with the passed brush and ScanditIcon icons.

withBrushAndScanditIcon(brush, scanditIcon, statusIconStyle)
static withBrushAndScanditIcon(brush: Brush | null,
        scanditIcon: ScanditIcon | null,
        statusIconStyle: BarcodePickStatusIconStyle | null): BarcodePickViewHighlightStyleResponse

Added in version 8.2.0

Constructs a new instance with the passed brush and ScanditIcon.

builder()
static builder(): BarcodePickViewHighlightStyleResponseBuilder

Added in version 8.2.0

Creates a new builder for constructing a BarcodePickViewHighlightStyleResponse.

BarcodePickViewHighlightStyleResponseBuilder
class BarcodePickViewHighlightStyleResponseBuilder

Added in version 8.2.0

Builder for creating BarcodePickViewHighlightStyleResponse instances with various configurations.

constructor()
constructor()

Added in version 8.2.0

Creates a new instance of the builder.

withBrush(brush)
withBrush(brush: Brush | null): this

Added in version 8.2.0

Sets the brush to be used for highlighting barcodes.

withSelectedBrush(selectedBrush)
withSelectedBrush(selectedBrush: Brush | null): this

Added in version 8.2.0

Sets the brush to be used for highlighting selected barcodes.

withIcon(icon)
withIcon(icon: string | null): this

Added in version 8.2.0

Sets the icon to be displayed using a bitmap.

withSelectedIcon(selectedIcon)
withSelectedIcon(selectedIcon: string | null): this

Added in version 8.2.0

Sets the icon to be displayed for selected items using a bitmap.

withScanditIcon(scanditIcon)
withScanditIcon(scanditIcon: ScanditIcon | null): this

Added in version 8.2.0

Sets the icon to be displayed using a ScanditIcon.

withSelectedScanditIcon(selectedScanditIcon)
withSelectedScanditIcon(selectedScanditIcon: ScanditIcon | null): this

Added in version 8.2.0

Sets the icon to be displayed for selected items using a ScanditIcon.

withStatusIconStyle(statusIconStyle)
withStatusIconStyle(statusIconStyle: BarcodePickStatusIconStyle | null): this

Added in version 8.2.0

Sets the style for status icons.

build()
build(): BarcodePickViewHighlightStyleResponse

Added in version 8.2.0

Builds and returns a new BarcodePickViewHighlightStyleResponse with the configured settings.

BarcodePickStatusIconStyle
class BarcodePickStatusIconStyle

Added in version 8.2.0

This holds the style data for the status icons.

withIcon(iconBase64, text)
static withIcon(iconBase64: string,
        text: string): BarcodePickStatusIconStyle

Added in version 8.2.0

Constructs a new instance that will display the provided icon and text.

withScanditIcon(icon, text)
static withScanditIcon(icon: ScanditIcon,
        text: string): BarcodePickStatusIconStyle

Added in version 8.2.0

Constructs a new instance that will display the provided icon and text.

withColors(iconColor, iconBackgroundColor, text)
static withColors(iconColor: Color,
        iconBackgroundColor: Color,
        text: string): BarcodePickStatusIconStyle

Added in version 8.2.0

Constructs a new instance that will display the default icon, an exclamation mark. The icon will be customized with the provided colors.