Click or drag to resize

BarcodeReaderQuiclyReadAllBarcodes Method (Stream, BarcodeEncoding, Boolean)

Reads any number of barcodes from an image with automatic settings designed to be applicable to most use cases.

Overloads of this method accept InputImage as string file paths as well as Image, Bitmap and Stream types.

Namespace:  IronBarCode
Assembly:  IronBarCode (in IronBarCode.dll) Version: (
public static BarcodeResult[] QuiclyReadAllBarcodes(
	Stream InputImage,
	BarcodeEncoding BarcodeFormat = BarcodeEncoding.All,
	bool TryHarder = false


Type: System.IOStream
The input image as a Stream containing the binary data for an image. Jpeg, Jpeg2000, Png, Bmp, TiIf & Gif Image formats are supported.
BarcodeFormat (Optional)
Type: IronBarCodeBarcodeEncoding
The barcode encoding types to read from the InputImage. By default all supported barcodes types are scanned for. Choosing one or more specific Barcode formats will improve performance significantly.
TryHarder (Optional)
Type: SystemBoolean
If set to true the Barcode Reader will expend more CPU cycles looking for barcodes which may be rotated or hidden in background noise in the image.

Return Value

Type: BarcodeResult
An Array of BarcodeResult. Array length will be zero if no barcodes were found.
See Also