Hi,
We were using Aspose 11.0.0 to extract the PDF file content in text file.
Now we are upgrading version to 24.3.0
We are facing issues in extracted text file, it is having some space issues, some time there is space and sometime it is missing.
I have attached some snapshots.
Let me know what I do to fix it.
Presentation1.jpg (66.7 KB)
@pankajkumar1
Can you please share your sample source PDF with the code snippet that you are using for text extraction? We will test the scenario in our environment and address it accordingly.
Sure,
I have attached the pdf file “14-0282-R-1-1-1_Rough Draft 1.pdf”. and I am attaching the extracted file of same from version11 and 24.3.0, please extract the attached zip file for this.
14-0282-R-1-1-1_Rough Draft 1.pdf (366.5 KB)
14-0282-R-1-1-1_Rough Draft 1.zip (28.1 KB)
and this is the code snipped
string tmpPdfFilePath = “myPDFNametmp.pdf”;
string tmpTxtFilePath = “myPDFNametmp.txt”;
PdfExtractor extractor = new PdfExtractor();
extractor.BindPdf(tmpPdfFilePath);
extractor.ExtractTextMode = 1;
extractor.ExtractText(Encoding.UTF8);
extractor.GetText(tmpTxtFilePath);
@pankajkumar1
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PDFNET-57265
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.