Hi,
I need to parse the PDF and convert to CSV and save to Database.Many rows will be there on each section
Source code required
PDF format
With REgards,
R.Rajkumar
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hussam BarouqaPosted Apr 6, 2017, 12:11 PM
FormPage formPage = new FormPage(1, 300, 300);
TableFormField tableField = new TableFormField();
tableField.Rules = TableRules.RowsLineSeparator;
// Create Columns
TextFormField column1 = new TextFormField();
column1.Name = "Status";
column1.Bounds = new LogicalRectangle(UpperLeftCornerX, UpperLeftCornerY, Width, Height, LogicalUnit.Pixel);
tableField.Columns.Add(new TableColumn(column1));
TextFormField column2 = new TextFormField();
column2.Name = "Panel Date";
column2.Bounds = new LogicalRectangle(UpperLeftCornerX, UpperLeftCornerY, Width, Height, LogicalUnit.Pixel);
tableField.Columns.Add(new TableColumn(column2));
// …
// Do For all Columns
formPage.Add(tableField);
//Add the page to the engine
processingEngine.Pages.Add(formPage);
Once you have a master form for the PDF with tables, you can perform recognition using code like the one described here:
https://www.leadtools.com/help/leadtools/v19m/dh/to/fr-topics-programmingwithleadtoolsformsrecognitionprocessingengine.html
Ramesh PalanivelPosted Mar 30, 2017, 10:46 AM