I want to buy PDF2TXT COM and use my project, but I noticed different effect of using sdk and test.exe application.
I attached part of input file as an image.
First I used test.exe and result is attached (exe.txt). Columns in the table are straight (except header, but for me it’s not a problem).
Next I tried extract the same file using skd:
Pdf2TxtNativeMethods.PDF2TXTSetLicenseCode("XXXXXXXXXXXXXX");
Pdf2TxtNativeMethods.SetTXTFormat(1);
Pdf2TxtNativeMethods.PDF2TXT(fileName, outFile);
Result is in the API.txt file. Last tree columns are scattered.
The problem is related with Polish special characters.
Is possible to change setting of sdk component to read pdf exactly same like console version do?
Can component read polish special characters?
=============================
Please call PDF2TXTEx() function to instead of PDF2TXT() function to try again, PDF2TXTEx() function does support polish special characters, for example,
Pdf2TxtNativeMethods.PDF2TXTSetLicenseCode("XXXXXXXXXXXXXX");
Pdf2TxtNativeMethods.SetTXTFormat(1);
Pdf2TxtNativeMethods.PDF2TXTEx(fileName, outFile, 0, 0, 0, 0);
Related Posts
Related posts:
OCR Hungarian language PDF file
PDF Content Grabber does grab text, image, graphics contents from PDF files
Convert PDF to text and add page number by command line
Is there a C++ library to extract text from a PDF file?
[VeryPDF Upgrade Notes] VeryPDF PDF to Text Converter for iOS (iPhone and iPad)
PDF to Word SDK, PDF to DOC SDK, PDF to DOCX SDK, PDF to RTF SDK, Open PDF in MS Word, Royalty Free ...
Convert PDF to Word, Excel, PowerPoint, HTML, Text, etc. Editable Documents!
Intelligent PDF Data Extraction with VeryPDF Data Extraction SDK: JSON Output, Table Extraction, and...