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 in namespace Scandit.DataCapture.Barcode.Pick.UI

BarcodePickViewHighlightStyleRectangularWithIcons
class BarcodePickViewHighlightStyleRectangularWithIcons : IBarcodePickViewHighlightStyle

Added in version 6.26.0

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

BarcodePickViewHighlightStyleRectangularWithIcons()
BarcodePickViewHighlightStyleRectangularWithIcons()

Added in version 6.26.0

Creates a new instance with default values.

GetBrushForState()
Brush GetBrushForState(BarcodePickState state)

Added in version 6.26.0

Gets the brush used for the passed pick state.

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

Added in version 6.26.0

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

GetSelectedBrushForState()
Brush GetSelectedBrushForState(BarcodePickState state)

Added in version 7.0.0

Gets the brush used when items in the passed pick state are selected. If null, selected items are drawn with the same brush as non-selected items in the same state. Default is null for all states.

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

Added in version 7.0.0

Use this method to configure the brush used when items in the specific pick state are selected. Pass null to draw selected items with the same brush as non-selected items in the same state.

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

Added in version 6.26.0

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

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

Added in version 7.3.0

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

SetSelectedIconForState()
void SetSelectedIconForState(UIImage icon, BarcodePickState state)

Added in version 7.3.0

Use this method to configure the icon used when items in the specific pick state are selected. If null, selected items use the same icon as non-selected items in the same state. Default is null for all states.

SetSelectedIconForState()
void SetSelectedIconForState(ScanditIcon icon, BarcodePickState state)

Added in version 7.3.0

Use this method to configure the ScanditIcon used when items in the specific pick state are selected. Default is null for all states.

AsyncStyleProvider
IBarcodePickViewHighlightStyleAsyncProvider AsyncStyleProvider { get;set; }

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

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