Barcode Pick View Highlight Style Dot With Icons

Note

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

Defined in namespace Scandit.DataCapture.Barcode.Pick.UI

BarcodePickViewHighlightStyleDotWithIcons
class BarcodePickViewHighlightStyleDotWithIcons : IBarcodePickViewHighlightStyle

Added in version 6.24.0

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

BarcodePickViewHighlightStyleDotWithIcons()
BarcodePickViewHighlightStyleDotWithIcons()

Added in version 6.24.0

Creates a new instance with default values.

BarcodePickViewHighlightStyleDotWithIcons()
BarcodePickViewHighlightStyleDotWithIcons(BarcodePickIconStyle iconStyle)

Added in version 6.24.0

Creates a new instance using the specified icon style.

IconStyle
BarcodePickIconStyle IconStyle { get; }

Added in version 6.24.0

The selected icons style. Defaults to BarcodePickIconStyle.Preset_1

GetBrushForState()
Brush GetBrushForState(BarcodePickState state)

Added in version 6.24.0

Gets the brush used for the passed pick state.

SetBrushForState()
void SetBrushForState(Brush brush, BarcodePickState state)

Added in version 6.24.0

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

SetIconForState()
void SetIconForState(Bitmap icon, BarcodePickState state)

Added in version 6.24.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.

SetIconForState()
void SetIconForState(int iconResource, BarcodePickState state)

Added in version 6.24.0

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

Note

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

AsyncStyleProvider
IBarcodePickViewHighlightStyleAsyncProvider AsyncStyleProvider { get;set; }

Added in version 6.24.0

Set a delegate to override asynchronously the style of the highlights depending on each item’s code and state.

StyleResponseCacheEnabled
bool StyleResponseCacheEnabled { get;set; }

Added in version 6.24.0

If enabled the AsyncStyleProvider responses will be cached, otherwise the style will be asked every time. Defaults to true.