Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# - How to: Open PDF, highlight search-results, and save highlighting back to PDF

I'm using itextsharp.dll.

How do I search and highlight text in the pdf file?

After highlighting the text in pdf, I want to save the highlighted pdf file such that when the PDF is re-opened, it is still highlighted.

Any ideas?

like image 467
11 revs, 3 users 87% Avatar asked Nov 13 '22 20:11

11 revs, 3 users 87%


1 Answers

Have you consider another library such as Apache PDFBox? It is support following features:

PDF to text extraction
Merge PDF Documents
PDF Document Encryption/Decryption
Lucene Search Engine Integration
Fill in form data FDF and XFDF Create a PDF from a text file
Create images from PDF pages Print a PDF

like image 60
Megadotnet Avatar answered Dec 05 '22 00:12

Megadotnet