I got this function of itextsharp library
to extract pdf text line by line:
PdfTextExtractor.GetTextFromPage(reader, page);
...but I need to put ENTER
at every line every end of line of pdf even if there is empty row it should read empty row.
I got this function of itextsharp library
to extract pdf text line by line:
PdfTextExtractor.GetTextFromPage(reader, page);
...but I need to put ENTER
at every line every end of line of pdf even if there is empty row it should read empty row.
read into a string variable then split e.g. String page = PdfTextExtractor.getTextFromPage(reader, 2);
String[] s1 = page.split('\n');
Please go through the following Links: