LEADTOOLS Support
Document
Document SDK Examples
How to highlight words and characters using the PDFDocument class
While some posts in this topic are more current, this topic was posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, August 29, 2011 6:08:00 AM(UTC)
Groups: Registered, Tech Support
Posts: 207
Was thanked: 3 time(s) in 3 post(s)
This demo shows you how to use our
PDFDocument class to parse a searchable PDF document; extracting the text. It displays each character in a listbox and highlights the character in the image when selected. The exact bounds of the character are also displayed in a text box just below the list box.
The demo also shows you how to convert the characters into words. The words are also displayed in a list box and also highlighted when selected with their coordinates displayed in the same text box as the characters.
This demo will only work with PDF's that are searchable and requires no
OCR engine.
To perform the same task with a non-searchable PDF you will need an OCR engine. Please follow this
link to find this same demo using an OCR engine instead to parse the PDF. The OCR engine will be able to parse other non-searchable formats as well (such as TIFF, JPEG, PNG, GIF, etc.)
This C# project was created with Visual Studio 2008.
Edited by moderator Friday, August 9, 2019 10:58:20 AM(UTC)
| Reason: Not specified
Travis Montgomery
Senior Sales Engineer
#2
Posted
:
Friday, October 28, 2016 4:15:42 PM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
I've updated this project to use LEADTOOLS 19 with Visual Studio 2015.
Edited by moderator Wednesday, January 11, 2017 4:29:49 PM(UTC)
| Reason: Not specified
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Wednesday, January 16, 2019 4:56:44 PM(UTC)
Groups: Registered, Manager, Tech Support, Administrators
Posts: 107
Was thanked: 9 time(s) in 9 post(s)
Updated project to v20 using 32-bit DLLs
Edited by moderator Monday, August 5, 2019 12:20:41 PM(UTC)
| Reason: Not specified
Marcus Andra
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Document
Document SDK Examples
How to highlight words and characters using the PDFDocument class
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.