0

I want to Read Column vise data from a PDF file using C# and insert to table based on corresponding column.

Here with attached sample pdf file for your reference. Please any one help to achieve the solution.

Sample PDF file

--UPDATE--

I have tried using PDF library iTextSharp. I have tried method of PdfTextExtractor.GetTextFromPage. It will help to extract the all text from pdf file, but I was not able to get the data like row and column wise.

Chillie
  • 1,030
  • 10
  • 28
  • 1
    What have you tried? what research have you done to try to solve your problem? Normally, questions are asked after a user has tried to figure out the problem for themselves first. – Chillie May 11 '18 at 14:16
  • Which pdf library do you use? – mkl May 12 '18 at 09:41
  • @Chillie **iTextSharp** pdf library i was tried method of _PdfTextExtractor.GetTextFromPage_. it will help to extract the all text from pdf file. but not able to get the data like row and column vise. – Thirumoorthy May 12 '18 at 18:04
  • @mkl **iTextSharp** – Thirumoorthy May 12 '18 at 18:05
  • Have you tried something along the lines of what is explained for itext and java in [this answer](https://stackoverflow.com/a/24911617/1729265)? – mkl May 12 '18 at 20:48
  • @mkl No.. I tried only with C#. Not in Java. – Thirumoorthy May 13 '18 at 03:28
  • I don't mean trying Java, I mean trying the *idea* outlined in that answer which can as easily be done in c#. – mkl May 13 '18 at 06:18
  • The equivalent C# `LayoutTextExtractionStrategy` class can be found in [this answer](https://stackoverflow.com/a/46585997/1729265). – mkl May 17 '18 at 12:00

0 Answers0