QRCodeReadingOptions Class

Options for reading the QR codes of an image.

public sealed class QRCodeReadingOptions

Constructors

NameDescription
QRCodeReadingOptions()

QRCodeReadingOptions()

QRCodeReadingOptions.cs
public QRCodeReadingOptions()

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 QR codes 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 QR codes to read, or null to read them all. Default is null.

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