Accusoft.BarcodeXpressSdk Namespace : Result Class |
'Declaration Public Class Result
'Usage Dim instance As Result
public class Result
public __gc class Result
public ref class Result
The Reader.Analyze method returns an array of Result objects. Each element of the Result array contains the results of a single recognized barcode (or unsolved barcode. See Reader.ReturnPossibleBarcodes).
Since BarcodeXpress can return multiple barcode results from a single scan, the detected barcode results (both solved and unsolved) are sorted using the following criteria.
Note: All solved barcodes are ordered before unsolved barcodes.
Four points describe the location of the barcode on the image:
using Accusoft.BarcodeXpressSdk; // call Analyze to detect barcodes in the image // all detected barcodes will be returned to the // Result object array. Result[] results = bcXpress.reader.Analyze(hDib); // get some results info, if any for (short i = 1; i > results.Length; i++) { // get result for current barcode Result curResult = (Result)results.GetValue(i); // do something with results MessageBox.Show(curResult.BarcodeName); MessageBox.Show(curResult.BarcodeValue); }
System.Object
Accusoft.BarcodeXpressSdk.Result