FoundCount
BarCodeReader.FoundCount property
Krijgt herkende barcodes tellen
public int FoundCount { get; }
Eigendoms-waarde
De herkende barcodes tellen mee
Voorbeelden
Dit voorbeeld laat zien hoe u barcodes kunt lezen met BarCodeReader
[C#]
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.Code39Standard, DecodeType.Code128))
{
reader.ReadBarCodes();
for(int i = 0; reader.FoundCount > i; ++i)
Console.WriteLine("BarCode CodeText: " + reader.FoundBarCodes[i].CodeText);
}
[VB.NET]
Using reader As New BarCodeReader("c:\test.png", DecodeType.Code39Standard, DecodeType.Code128)
reader.ReadBarCodes()
For i As Integer = 0 To reader.FoundCount - 1 Step 1
Console.WriteLine("BarCode CodeText: " + reader.FoundBarCodes(i).CodeText)
Next
End Using
Zie ook
- class BarCodeReader
- naamruimte Aspose.BarCode.BarCodeRecognition
- montage Aspose.BarCode