Barcode2DReadingOptions Class

Options for reading the Data Matrix, PDF417 and Aztec symbols of an image.

public sealed class Barcode2DReadingOptions

Constructors

NameDescription
Barcode2DReadingOptions()

Barcode2DReadingOptions()

Barcode2DReadingOptions.cs
public Barcode2DReadingOptions()

No documentation is available.

Properties

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

Gets or sets the maximum number of symbols 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 symbols printed light on a dark background are read, when the image has no symbols printed dark on light. Default is true.

public bool TryInverted { get; set; }

Property value

bool

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

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