Welcome to the ASP.NET Core feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET Core, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

FindText is not working properly.


if (pdfLoaded.FindText(wordForSearch, out matchRects))

{

foreach (var matchRect in matchRects)

{

var page = pdfLoaded.Pages[matchRect.Key];


foreach (var rect in matchRect.Value)

{

var textAnnot = new PdfTextMarkupAnnotation(rect)

{

Author = "AutoAnnotation",

Opacity = 1.0f,

Subject = "pdftextmarkupannotation",

ModifiedDate = DateTime.Now,

TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight,

TextMarkupColor = new PdfColor(173,192,211),

Color = new PdfColor(173,192,211)

};

page.Annotations.Add(textAnnot);

}

}

}