Hi Jan,
Thank you for your update.
You can extract the text from PdfLoadedDocument by using ExtractText().
Please find the code snippet to Extract the text form Loaded document,
PdfLoadedDocument lDoc = new PdfLoadedDocument(@"Input.pdf");
PdfLoadedPage page = lDoc.Pages[0] as PdfLoadedPage;
string text= page.ExtractText();
And you can highlight the chosen text or paragraph by using PdfTextMarkupAnnotation with text bounds.
You can get the bounds value of the selected text by using below code,
lDoc.FindText(text, out rectCollection);
We have created a sample to highlight the text in Windows Forms. Please find the sample from the below link,
Sample link:
Please let us know if you have any concerns.
With Regards,
Gayathri R