VintaSoft Barcode .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Barcode Namespace / ReaderSettings Class / ExpectedBarcodes Property
Syntax Remarks Requirements SeeAlso
In This Topic
    ExpectedBarcodes Property (ReaderSettings)
    In This Topic
    Gets or sets the expected number of barcodes to search. The barcode searching algorithm will stop when expected number of barcodes will be found.
    Syntax
    'Declaration
    
    <DefaultValueAttribute(1)>
    <DescriptionAttribute("Expected number of barcodes to search.")>
    Public Property ExpectedBarcodes As Integer
    
    
    [DefaultValue(1)]
    [Description("Expected number of barcodes to search.")]
    public int ExpectedBarcodes { get; set; }
    
    
    [DefaultValue(1)]
    [Description("Expected number of barcodes to search.")]
    public: __property int get_ExpectedBarcodes();
    public: __property void set_ExpectedBarcodes(
    int value
    );
    [DefaultValue(1)]
    [Description("Expected number of barcodes to search.")]
    public:
    property int ExpectedBarcodes { int get(); void set(int value); }

    Property Value

    Default value is 1.
    Remarks

    You must set value of this property to 2 if you want to read one EAN Plus or UPC Plus barcode.

    Barcode reader uses 1 barcode recognition step if automatic barcode recognition is disabled and barcode reader recognizes barcodes in "Manual threshold" or "Automatic threshold" mode.
    Barcode reader uses N1 barcode recognition steps if automatic barcode recognition is disabled and barcode reader recognizes barcodes in "Iteration threshold" mode.
    Barcode reader uses N2 barcode recognition steps if automatic barcode recognition is enabled.
    The barcode reader checks value of ReaderSettings.ExpectedBarcodes proeprty after the end of each barcode recognition step. Value of ReaderSettings.ExpectedBarcodes property is ignored if barcode reader process has only 1 barcode recognition step.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also