c# code to extract data with table from pdf file
I am strugling to extract table from pdf file using c#. Please let me
know if there is any way either by c# code or window api or third party
tool which i can use in c#. I have tried itextsharp and managed to open
the pdf file in my application but can not extract table from pdf file.
Will be greatful if someone explain with code. Thanks
Dennis JosePosted Jul 13, 2010, 9:50 AM
Actually my aim is to convert a PDF document into EXCEL file.Using ITextSharp i can convert all text informations into excel.But i did n't get the right alignment as PDF.Is there any way to fetch PDF structure (rows and colums) from a PDF document so that i can transfer that alignment into EXCEL(this is my logic.I don't know is it correct or not ) ? .Or is there any way to transfer PDF documnet into Excel with the same structure?. Thanks in advance.
Hirendra SisodiyaPosted Jul 13, 2010, 5:52 AM
you can extract text from pdf file in these ways:
1. if you can change this pdf file in to .Tiff or .mdi format than you can use OCR technique through microsoft office Document Imaging(MODI.dll).
2.You can use any third party tool like 'LeadTool', some time ago i develop a Document management application and i use lead tool for image editing and extrating text from the images. Lead tool provides good experience with image management.
if you have any other wat for doing this please tell me also
thanks
Please mark as answer if it helps