I posted to the itextsharp mailing list and got a response that it had been closed, and to use the itext mailing list. Maybe someone can help me with this? We currently have a site which will have a pdf which will post the FDF to a url. The idea is, once the FDF posts to the url, we have some asp. As of yet, I have been unable to get this to work. Please note the below example is from a dotnetnuke module, however, for the purpose of this, you can ignore the dnn parts:.

Author:Kiran Mazutaur
Language:English (Spanish)
Published (Last):19 March 2016
PDF File Size:3.8 Mb
ePub File Size:12.95 Mb
Price:Free* [*Free Regsitration Required]

Toggle navigation Hot Examples. C CSharp iTextSharp. FdfReader extracted from open source projects. You can rate examples to help us improve the quality of examples. Programming Language: C CSharp. Frequently Used Methods. Show Hide. Close 1. GetAttachedFile 1. GetFieldValue 1. GetPdfObject 1. Related in langs. Error Go. Max Go. HDRMode Java. GoToRegistrant Java. SubunitTestRunner Python.

Inheritance: PdfReader. FdfReader Class Documentation. Example 1. Show file. Example 2. File: PdfStamperImp. GetAsDict PdfName. GetAsArray PdfName. GetAsNumber PdfName. Add obj ; if obj. GetPdfObject annot. Get PdfName. NM ; if nm! GetPdfObject n ; if obj. GetPdfObject PdfDictionary obj. IRT ; if str! TryGetValue str. ToString , out i ; if i! Merge PdfDictionary obj ; dic2. Put PdfName. GetPageN page. GetPdfObject dic. Example 3. File: AcroFieldsTest. GetAsStream PdfName.

N ; Assert. AreEqual 51, b. AreEqual , b. Length ; fdfReader. Example 4. File: AcroFields. Fields; foreach string f in fd. GetFieldValue f ; if v! Example 5. Example 6. File: FdfWriter. Example 7. File: FDFServlet. AcroFields; fields. SetFields fdf ; stamper. GetInstance fdf.

GetAttachedFile "image" ; img. ScaleToFit , ; img. SetAbsolutePosition 90, ; stamper. GetOverContent 1. ShowTextAligned stamper. GetOverContent 1 , Element.


Subscribe to RSS

By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. So, the situation is like this. I have a PDFTemplate. But I can't save this file using the File menu, as it says this file will be saved without the data. The following is the code that I am using but when I open the newly saved file, it says that the file is damaged and could not be repaired:.


Unable to open PDF file using iTextSharp PdfReader object

If you were looking at migrating to iText 7 for its additional features, improved API, and new rendering framework, but also needed the ability to make direct use of XFDF, then this release is for you! Thanks, Joris! For the ever-increasing number of. NET documentation. NET examples for creating and filling forms:. Filling a form. Filling a form from a list.

Related Articles