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.
Unfortunately, activation email could not send to your email. Please try again.

Highlight annotations

Thread ID:

Created:

Updated:

Platform:

Replies:

91138 Nov 5,2009 07:20 AM Nov 10,2009 02:02 AM Windows Forms 1
loading
Tags: PDF
Jose Gabriel Lancha
Asked On November 5, 2009 07:20 AM

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 02:02 AM

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.
page.Annotations.Add(markupAnnotation);


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

http://files.syncfusion.com/samples/PDF.Windows/PDF_Win_F91138.zip

Regards,
Suba

CONFIRMATION

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.

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.

;