How to parse PDF streams in .Net -


I have some free C # code for parsing PDF files, which I have downloaded.

I have written code fields to extract information about the fields, using these classes, and generating a new PDF with the form field.

Now I have found that it does not work with the new PDF because the stream near the new PDFs was plain text in the old formats. I do not have time to study the PDF format document and write my own PDF stream parser, so I would like to know that any library or class knows which I can use from C # / NET.

Before you say "Use iTextSharp", there is a problem license with iTextSharp. I need a code that can be used in commercial software. If you are unsure about the license, So please tell me

Thank you!

You can try this library to easily fill the form field.

Here is a sample for your work:

  using System.Collections.ObjectModel; Using BitMarackel.Docotic.PDF; Namespot Bitmrack.Docotic. Example {public static class FillForm {public static zero main () (PDF document document = new PDF document ("some documents .pdf")) Read {ONLY selection and LT; Pdf widget & gt; Widgets = document. Page [0]. Widgets; PDFtextbox text box = (PDFTextbox) widgets [0]; TextBox.Text = "Some names"; PDF checkbox checkbox = (PDF checkbox) widgets [1]; Checkbox.Checked = true; PDFRodObtons First RadioButton = (PDFRDO button) widgets [2]; First Radio Button Check = false; PDF Cardboard SecondreadButton = (PDF Cardboard) Widgets [3]; SecondRadioButton.Checked = True; Document.Save ("FillForm.pdf"); }}}}  

Comments