Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Friday, August 4, 2017 11:39:03 AM(UTC)


Groups: Tech Support
Posts: 366

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)

If you are creating an application to convert non-searchable PDF files into searchable PDF files using an OCR, you may want to ensure you do not process files that are already searchable.

You may also want to handle cases where the file is corrupted, encrypted, or may not be a PDF file at all (may have the extension PDF, but the file is a TIFF for example).

The attached C# .NET sample shows you how you would check for each of these cases and outputs the results in a ListView for a directory of files.

This is an updated Visual Studio 2017 project using LEADTOOLS 19. The original project can be found here:

To run this project without modification, please extract it into the following directory:
C:\LEADTOOLS 19\Examples\posts\t9700
File Attachment(s):
DeterminePDFSearchable_19.zip (12kb) downloaded 461 time(s).

Edited by user Friday, August 11, 2017 9:20:03 AM(UTC)  | Reason: Not specified

Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.036 seconds.