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.24.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.24.0
Creates a new instance with default values.
- BarcodePickViewHighlightStyleRectangularWithIcons()
BarcodePickViewHighlightStyleRectangularWithIcons(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.
- 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(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.