Hi Glen,
Thanks for reply,
Let me be clear on what I am searching for,
I have used following code snippet to convert Text to Barcode and write into
PDF.
PdfWriter writer = PdfWriter.GetInstance(document, new FileStream("T1.pdf",
FileMode.Create));
//FileStream FS = new FileStream("", FileMode.Create);
//StreamWriter writer = new StreamWriter();
writer.Open();
// step 3: we open the document
document.Open();
// step 4: we add content to the document
PdfContentByte cb = writer.DirectContent;
Barcode39 code39 = new Barcode39();
code39.Code = "12345343433";
code39.StartStopText = false;
Image image39 = code39.CreateImageWithBarcode(cb, null, null);
PdfPTable table = new PdfPTable(2);
table.WidthPercentage = 100;
table.DefaultCell.Border = Rectangle.NO_BORDER;
table.DefaultCell.HorizontalAlignment = Element.ALIGN_CENTER;
table.DefaultCell.VerticalAlignment = Element.ALIGN_MIDDLE;
table.DefaultCell.FixedHeight = 70;
table.AddCell("CODE 39");
table.AddCell(new Phrase(new Chunk(image39, 0, 0)));
document.Add(table);
// step 5: we close the document
document.Close();
I need to read the PDF and get the image (Barcode) and get the text (Example:
"12345343433") back.
Can u help me on this…
Any sample code in C# ...
Thanks,
S.Balamurugen.
--- On Thu, 2/4/09, Self, Glen <[email protected]> wrote:
From: Self, Glen <[email protected]>
Subject: RE: [iText-questions] Decoding Barcode in C#
To: [email protected], "Post all your questions about iText here"
<[email protected]>
Date: Thursday, 2 April, 2009, 8:08 PM
Good morning,
Barcode is a font, actually several different fonts.
“get the text back from reading barcode” is like saying “get the text back from
reading times roman” or “get the text back from reading courier”
From: balamurugenS [mailto:[email protected]]
Sent: Wednesday, April 01, 2009 8:52 PM
To: vijay
Cc: Post all your questions about iText here
Subject: Re: [iText-questions] Decoding Barcode in C#
Hi Vijay,
Glad to hear from you. I want to generate the barcode from text and get the
text back from reading barcode.
THanks,
S.Balamurugen.
--- On Wed, 1/4/09, vijay <[email protected]> wrote:
From: vijay <[email protected]>
Subject: Re: [iText-questions] Decoding Barcode in C#
To: "balamurugenS" <[email protected]>
Cc: " Post all your questions about iText here "
<[email protected]>
Date: Wednesday, 1 April, 2009, 10:16 PM
-----Inline Attachment Follows-----
What does decoding a barcode actually mean? You can scan a barcode but
I have never heard anything like decoding? Is it possible?
Vijay.
On Wed, 01 Apr 2009 balamurugenS wrote :
>
>
>Hi,
>
>Do we have any sample code on decoding Barcode from PDF document in
C#.
>
>Thanks,
>Bala.
>
>
>
>>--------------------------------------------------------------------
----------
>_______________________________________________
>iText-questions mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/itext-questions
>
>Buy the iText book: http://www.1t3xt.com/docs/book.php
The information contained in this message is intended only for the recipient,
and may be a confidential attorney-client communication or may otherwise be
privileged and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent responsible
for delivering this message to the intended recipient, please be aware that any
dissemination or copying of this communication is strictly prohibited. If you
have received this communication in error, please immediately notify us by
replying to the message and deleting it from your computer. The McGraw-Hill
Companies, Inc. reserves the right, subject to applicable local law, to monitor
and review the content of any electronic message or information sent to or from
McGraw-Hill employee e-mail addresses without informing the sender or recipient
of the message.
------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php