Hello everyone,
i am facing issue of find and highlight text in pdf , the issue is after finding the text the highlight ion is vertical orientation .
pdfDoc.LoadFromFile(@"d:\LocalData\z015266\Desktop\OneDrive_1_30-07-2019\Updated\AA30-AC.PDF");
//PdfTextFind[] result = null;
PdfTextFind[] result = null;
foreach (PdfPageBase page in pdfDoc.Pages)
{
result = page.FindText("F263").Finds;
foreach (PdfTextFind find in result)
{
find.ApplyHighLight();
}
i have used this code for highlight ion , i have attached image after the highlightion.