Hello GroupDocs,
I am tasked to create a POC using GroupDocs.Viewer and C# to show pdf document search results. At this time I have the viewer working using HtmlViewOptions, and am able to render the html results on my front-end. I can manually use regex to highlight specific words in the html, but it isn’t ideal.
I was able to index.Highlight to highlight one of these pdfs through GroupDocs.Search, but the resulting html loses the formatting and rendering that I get through GroupDocs.Viewer.
So the overarching question is: Can I use the highlighting tool mixed in with GroupDocs.Viewer to get a pdf to render in html like it does with GroupDocs.Viewer, but have the highlighting using GroupDocs.Search without losing the original pdf’s formatting?
If so, where can I find documentation or examples or this process?
Thanks,
John.