Error Codes for PDF2TXTEx function and does PDF2TXTEx function working in blocking mode?

Hello! I'm, looking for a documentation to this library for version 3.0.0.2.
The main 2 questions I've not found in readme.txt are
* Is PDF2TXTEx() working in blocking mode? I mean execution is passed back to caller after PDF2TXTEx() call only when output is finished?
* Where can I find a list of result codes for PDF2TXTEx() function?

https://www.verypdf.com/app/pdf-to-txt-converter/try-and-buy.html#buy-com
https://www.verypdf.com/app/pdf-to-txt-converter/index.html

Customer
--------------------------------------

image
>>* Is PDF2TXTEx() working in blocking mode? I mean execution is passed back to caller after PDF2TXTEx() call only when output is finished?

Yes, PDF2TXTEx() is working in blocking mode, this function will not return until the conversion be done completely.

>>* Where can I find a list of result codes for PDF2TXTEx() function?

Please find the result codes for PDF2TXTEx() function at below,

//////////////////////////////////////////////
//int __stdcall PDF2TXTEx(LPCTSTR lpPDFName, LPCTSTR lpTXTName,int nFirstPage,
//        int nLastPage, LPCTSTR ownerPWD,LPCTSTR userPWD);
//Description:
//        This function will convert PDF file to text file with some special options
//
//Parameters:
//        lpPDFName  : set the PDF file name
//        lpTXTName  : set output text file name
//        nFirstPage : first page to convert
//        nLastPage  : last page to convert
//        ownerPWD   : owner password (for encrypted files)
//        userPWD    : user password (for encrypted files)
//
//Return values:
//         0: - Success not found any problem.
//         1: - Couldn't open PDF file, this PDF file maybe contains an open password or be damaged
//         2: - Couldn't open output text file
//        10: - Success with found some embed fonts.
//        11: - Success with have only embed fonts in PDF file.
//        12: - Fail with empty text file such as this PDF is picture scan or PDF have only picture.
//        -1: - Fail with other causes (can not convert to text file)  such as found exception, time out, not enough memory.
//////////////////////////////////////////////       

VeryPDF

See Also:

PDF to Text, PDF to Excel, PDF to CSV, PDF to Table, etc. products on VeryUtils Platform:
https://veryutils.com/search?search=pdf%20to%20text

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!