Hi,
Reading from Tiff file
----------------------------
I am trying to read barcode from multipage file, but it is returning empty string after reading the tiff file. I have attached both code I am using and till file with this post. Please advise me why it is not able to read the barcodes from tiff file.
Reading from Pdf file
-----------------------------
Apart form tiff, I want to read barcodes from pdf files also. Please advise me what APIs are provided by infragistics to read barcodes from pdf file. Please throw some code samples for reading barcode from pdf files.
The below code is to read barcode from tiff file.
using
System;
System.Collections.Generic;
System.Linq;
System.Text;
System.IO;
System.Windows.Media.Imaging;
//using System.Drawing;
System.Windows;
System.Windows.Controls;
//using System.Windows.Media;
Infragistics.Controls.Barcodes;
namespace
ConsoleApplication1
{
Program
[] args)
.Read);
.Default);
bitmapSource = decoder.Frames[1];
();
barReader.BarcodeOrientation =
.Unspecified;
barReader.MaxNumberOfSymbolsToRead = 5;
barReader.DecodeComplete +=
>(barReader_DecodeComplete);
barReader.Decode(bitmapSource,
.All);
}
e)
barValue = e.Value;
.WriteLine(barValue);
Regards
Uthay
Hello Uthay,
I found this post duplicate to the following one:
http://community.infragistics.com/forums/t/65590.aspx
Which is already answered.