BarcodeFormats Property

Description

Gets or sets what types/formats of barcode are read. All other types/formats are ignored.

Syntax

public BarcodeFormat BarcodeFormats { get; set; }

Data type

BarcodeFormat

Example

ReaderOptions option = new ReaderOptions();
option.BarcodeFormats = (
    BarcodeFormat.OneD | 
    BarcodeFormat.QR_CODE | 
    BarcodeFormat.PDF417 | 
    BarcodeFormat.DATAMATRIX
);
option.MaxBarcodesToReadPerPage = 100;

See Also

.NET > Enumeration > BarcodeFormat
.NET > Classes > ReaderOptions > MaxBarcodesToReadPerPage