BarcodeReadingOptions Class

Options for reading the linear barcodes of an image.

public sealed class BarcodeReadingOptions

Constructors

NameDescription
BarcodeReadingOptions()

BarcodeReadingOptions()

BarcodeReadingOptions.cs
public BarcodeReadingOptions()

No documentation is available.

Properties

NameDescription
MaximumResultsGets or sets the maximum number of barcodes to read. Default is Int32.MaxValue.
TryInvertedGets or sets a value indicating whether the barcodes printed light on a dark background are read, when the image has no barcodes printed dark on light. Default is true.
TypesGets or sets the types of barcodes to read, or null to read them all. Default is null.

Gets or sets the maximum number of barcodes to read. Default is Int32.MaxValue.

public int MaximumResults { get; set; }

Property value

int

Exceptions

ArgumentOutOfRangeException
The value is less than 1.

Gets or sets a value indicating whether the barcodes printed light on a dark background are read, when the image has no barcodes printed dark on light. Default is true.

public bool TryInverted { get; set; }

Property value

bool

Gets or sets the types of barcodes to read, or null to read them all. Default is null.

public IReadOnlyCollection<BarcodeType>? Types { get; set; }