Class BarcodeFormatConfigurationBase
- Namespace
- ScanbotSDK.MAUI.Barcode
- Assembly
- ScanbotSDK.Shared.dll
Base class for all barcode configurations.
[JsonPolymorphic(TypeDiscriminatorPropertyName = "_type")]
[JsonDerivedType(typeof(BarcodeFormatCodabarConfiguration), "BarcodeFormatCodabarConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatCode11Configuration), "BarcodeFormatCode11Configuration")]
[JsonDerivedType(typeof(BarcodeFormatCode39Configuration), "BarcodeFormatCode39Configuration")]
[JsonDerivedType(typeof(BarcodeFormatCode93Configuration), "BarcodeFormatCode93Configuration")]
[JsonDerivedType(typeof(BarcodeFormatCode128Configuration), "BarcodeFormatCode128Configuration")]
[JsonDerivedType(typeof(BarcodeFormatCode2Of5Configuration), "BarcodeFormatCode2Of5Configuration")]
[JsonDerivedType(typeof(BarcodeFormatDataBarConfiguration), "BarcodeFormatDataBarConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatDataBarExpandedConfiguration), "BarcodeFormatDataBarExpandedConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatDataBarLimitedConfiguration), "BarcodeFormatDataBarLimitedConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatItfConfiguration), "BarcodeFormatITFConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatMsiPlesseyConfiguration), "BarcodeFormatMSIPlesseyConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatUpcEanConfiguration), "BarcodeFormatUpcEanConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatPharmaCodeConfiguration), "BarcodeFormatPharmaCodeConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatAztecConfiguration), "BarcodeFormatAztecConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatQrCodeConfiguration), "BarcodeFormatQRCodeConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatPdf417Configuration), "BarcodeFormatPDF417Configuration")]
[JsonDerivedType(typeof(BarcodeFormatMicroPdf417Configuration), "BarcodeFormatMicroPDF417Configuration")]
[JsonDerivedType(typeof(BarcodeFormatDataMatrixConfiguration), "BarcodeFormatDataMatrixConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatMaxiCodeConfiguration), "BarcodeFormatMaxiCodeConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatAustraliaPostConfiguration), "BarcodeFormatAustraliaPostConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatJapanPostConfiguration), "BarcodeFormatJapanPostConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatRoyalMailConfiguration), "BarcodeFormatRoyalMailConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatRoyalTntPostConfiguration), "BarcodeFormatRoyalTNTPostConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatUspsIntelligentMailConfiguration), "BarcodeFormatUSPSIntelligentMailConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatPharmaCodeTwoTrackConfiguration), "BarcodeFormatPharmaCodeTwoTrackConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatGs1CompositeConfiguration), "BarcodeFormatGS1CompositeConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatCommonOneDConfiguration), "BarcodeFormatCommonOneDConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatCommonTwoDConfiguration), "BarcodeFormatCommonTwoDConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatCommonFourStateConfiguration), "BarcodeFormatCommonFourStateConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatCommonConfiguration), "BarcodeFormatCommonConfiguration")]
public class BarcodeFormatConfigurationBase
- Inheritance
-
BarcodeFormatConfigurationBase
- Derived
- Inherited Members
Properties
AddAdditionalQuietZone
If true, we process the barcode scanning with an artificial quiet zone that we add to the input image. This flag should be used to scan sharp crops of a barcode in single-shot mode.
Default is false
public bool AddAdditionalQuietZone { get; set; }
Property Value
MinimumSizeScore
Minimum acceptable value of a result BarcodeItem's sizeScore (between 0 and 1). Barcodes with a sizeScore less than this value will not be scanned. When set to 0, barcodes are returned no matter what their size is.
Default is 0
public double MinimumSizeScore { get; set; }
Property Value
RegexFilter
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
Default is ""
public string RegexFilter { get; set; }
Property Value
Methods
FromJson(string)
public static BarcodeFormatConfigurationBase FromJson(string rawJson)
Parameters
rawJson
string