We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Highlight annotations

Thread ID:





91138 Nov 5,2009 12:20 PM UTC Nov 10,2009 07:02 AM UTC WinForms 1
Tags: PDF
Jose Gabriel Lancha
Asked On November 5, 2009 12:20 PM UTC

Good Morning,

I'm trying this product and I'm finding it very useful, but I can't find an example to highlight a word in a pdf document page and then it appears as an annotation (like the tool used in acrobat to highligt a word).

I need to do it because the application I'm developping is for finding a few words in pdf documents and get them highlighted.

Thanks a lot for your response.

Sri Subhashini M [Syncfusion]
Replied On November 10, 2009 07:02 AM UTC

Hi José,

Thank you for your interest in Essential PDF.

I regret to let you know, currently Essential PDF doesn’t support to find a word in a PDF document and highlight the word. But you can draw highlight annotation in a PDF document by using PdfTextMarkupAnnotation. Kindly refer the sample code snippet which demonstrates of drawing highlight annotation in a PDF document,

//Create a pdf textmarkup annotation
PdfTextMarkupAnnotation markupAnnotation = new PdfTextMarkupAnnotation("Markup annotation", "Markup annotation with highlight style", markupText, new PointF(175, 40), pdfFont);
markupAnnotation.TextMarkupColor = new PdfColor(Color.LightBlue);
markupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight;
//Add this annotation to a new page.

Please do find the sample from the below specified location and let me know if you need any further assistance.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon