Hi,

We have a C# application in which we are using PDF as a Form displayed
through Itextsharp.In this PDF we are populating the data through Itextsharp
and also getting the data from PDF to save it on to database.


While filling normal text in PDF and sending it to server to save it to
database it works fine but when we fill the PDF with CJK characters it
doesn't retrieve the same character as entered.

I have a button in PDF which is used to post it to different page.

I am using this code to assign the action on the button:-

                    PushbuttonField pbfPushButtonField =
this.acroFormFields.GetNewPushbuttonFromField(fieldName, i);
                    pbfPushButtonField.Options =
PushbuttonField.VISIBLE_BUT_DOES_NOT_PRINT;

                    PdfFormField pff = pbfPushButtonField.Field;
                    
                   
pff.SetAdditionalActions(PdfName.U,PdfAction.CreateSubmitForm(strURL, null,
PdfAction.SUBMIT_HTML_FORMAT));
                    //this.PdfStamper.AddAnnotation(, i);

                    this.acroFormFields.ReplacePushbuttonField(fieldName,
pff, i);

Can you please tell me if i am doing wrong. If no can you tell me the right
way of doing it and also how do i retrive the data from this pdf on submit
action of the button and save it to the database.

If you can explain this with an example that will be really helpful.



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/NOT-ABLE-TO-GET-THE-CJK-CHARACTERS-FROM-AN-EDITABLE-PDF-tp4656426.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
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