Hi,

I am trying to dynamically populate a barcode field ,generated using acrobat X1 
pro, with itext acrofields. But barcode is coming as plain text. Any idea how I 
can get around this issue?  Code is as mentioned below.

using (var stamper = new PdfStamper(reader, ms))
                            {
                                AcroFields pdfFormFields = stamper.AcroFields;

                                pdfFormFields.SetField("Barcode1", 
vardata.EncounterId);

                                stamper.Writer.CloseStream = false;
                                
stamper.Writer.SetPdfVersion(PdfWriter.PDF_VERSION_1_5);
                                stamper.Close();
                            }

We are using itextsharp.dll, v5.1.2.0  version

Please let me know.

Thanks,
Praveen
NOTICE: This e-mail message and all attachments transmitted with it may contain 
legally privileged and confidential information intended solely for the use of 
the addressee. If the reader of this message is not the intended recipient, you 
are hereby notified that any reading, dissemination, distribution, copying, or 
other use of this message or its attachments is strictly prohibited. If you 
have received this message in error, please notify the sender immediately by 
electronic mail and delete this message and all copies and backups thereof. 
Thank you. Greenway Health.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to