Barcode Pick View Highlight Style Rectangular With Icons

Note

Barcode Pick is still in beta and may change in future versions of Scandit Data Capture SDK.

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

RectangularWithIcons
class RectangularWithIcons : BarcodePickViewHighlightStyle

Added in version 6.19.0

A style that will draw rectangles on top of barcodes, the highlights can also have icons drawn on top.

constructor()
constructor()

Added in version 6.19.0

Creates a new instance with default values.

iconStyle
iconStyle: BarcodePickIconStyle

Added in version 6.19.0

The selected icons style. Defaults to BarcodePickIconStyle.Preset_1

getBrushForState(state)
getBrushForState(state: BarcodePickState): Brush

Added in version 6.19.0

Gets the brush used for the passed pick state.

setBrushForState(brush, state)
setBrushForState(brush: Brush,
        state: BarcodePickState): void

Added in version 6.19.0

Use this method to configure the brush used for the specific pick state.

setIconForState(image, state)
setIconForState(image: string,
        state: BarcodePickState): void

Added in version 6.23.0

Use this method to configure the icon used for the specific pick state.

Note

The icon is shown with a size of 18x18 dp.