i've tried two different component to integrate pdf file in windows form application (c#). the above mentionated component are PDFSharp and Sloppycode webBrowserEx. Now, both of them work fine, but I'm not able to search and highlight programmatically full text defining by user through a textBox.
Can anyone give me some suggest to achieve my purpose?
Thanks in advance.
Step 1: Highlight Text or Add Comments if NeededTo search the highlighted text, you need to highlight the text first, so you'll be able to search it later. To do so, click "Comment" and then the "Highlight" icon.
Iterate throughout the selected pages of the input file and split the current page into lines. Search for the string within the page. Apply the corresponding action (i.e "Redact" , "Frame" , "Highlight" , etc.)
Annotate PDF Files With Google Drive CommentsGoogle recently added the ability to highlight PDFs in Google Drive natively. When you're looking at a PDF in Drive, click the Add a Comment icon at the top left. It looks like a speech bubble with a plus icon in it.
I found this answer to help me when I was working with PDFs. Not sure if you seen it yet but it may help you. I went with iTextSharp.
how to highlight a text or word in a pdf file using iTextsharp?
hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With