How to Highlight a text by using Essential PDF?

To highlight a text in the PDFdocument,use PdfTextMarkupAnnotation and select PdfMarkupAnnotationType as the highlight. You can also change the highlight color by using the TextMarkupColor property. The following code example shows how to highlight a text by using Essential PDF.