i was trying batchprocessor for multipage pdfs', i didn't get the desired output, so i did some modification in the exsiting sample code , so now i am getting pdf outputs but they have some additional pages from previously exported documents. code is appending the pages into the next pdfs.
i am using FRE11, C#
if anybody knows how to batchprocess the multiple pdf , let me know
Comments
2 comments
Hi
If this is your case:
"so now i am getting pdf outputs but they have some additional pages from previously exported documents. code is appending the pages into the next pdfs"
Then it seems you are not scoping your variables properly (like using a global variable that should not be global),
can you please post your C# code?
Details about the scope of variables:
https://msdn.microsoft.com/en-us/library/ms973875.aspx
https://www.arclab.com/en/kb/csharp/global-variables-fields-functions-static-class.html
Best regards
Koen de Leijer
Hello,
Sorry for the possible delay with the answer. In case you are still facing the same issue, kindly post your source code here. This will help us to assist you.
The BatchProcessor object is intended for processing a large amount of one-page documents and then export them as a single one. For processing multi-page documents, please use the FRDocument object and set up the multiprocessing parameters:
After setting up the multiprocessing settings, you can use the standard procedure of working with the FRDocument. ABBYY FineReader Engine will automatically start several recognition processes when you call AddImageFile() or other methods of the FRDocument object. Please find the overview of the different parallel processing approaches in the Developer's Help → Guided Tour → Advanced Techniques → Parallel Processing with ABBYY FineReader Engine article.
If you export large documents (50 pages or more) to PDF, using the ExportFileWriter object is highly recommended for export. The recognized data will be saved into PDF in portions, which will dramatically increase the export speed. Please see Developer's Help → Guided Tour → Advanced Techniques → Exporting Large Documents for details.
Hope this information will be helpful!
Please sign in to leave a comment.