BarCodeReader reader = new BarCodeReader(image, BarCodeReadType.Code128);
// Acquire an exclusive lock on the image
reader.SetHints(RecognitionHints.ImageAccessHints.Exclusive);
while (reader.Read() == true)
{
Console.WriteLine(“Codetext: ” + reader.GetCodeText());
}
reader.Close();
// Acquire an exclusive lock on the image
reader.SetHints(RecognitionHints.ImageAccessHints.Exclusive);
while (reader.Read() == true)
{
Console.WriteLine(“Codetext: ” + reader.GetCodeText());
}
reader.Close();
For release notes and download, please visit http://www.aspose.com/community/files/51/.net-components/aspose.barcode-for-.net/default.aspx.