Highlight text on webbrowser
-
I have one html document . I want to highlight text in html document but which text I want to highlight that is repeated text in html document . But I want to highlight only exact text according to my requirement then how can I determine the exact text which I want to highlight . Manually, I know that this text should have to highlight but how programmatically determine exact text to highlight between duplicates. Please some one can help to me. My exact scenario is giving below- I want to explain my scenario I have some pdf and converting in epub file.After converting some text font name or font style missing then I have to compare with pdf and epub and highlight the exact text which font is missing.But because of duplicates I am not able to determine the text for highlight.
-
I have one html document . I want to highlight text in html document but which text I want to highlight that is repeated text in html document . But I want to highlight only exact text according to my requirement then how can I determine the exact text which I want to highlight . Manually, I know that this text should have to highlight but how programmatically determine exact text to highlight between duplicates. Please some one can help to me. My exact scenario is giving below- I want to explain my scenario I have some pdf and converting in epub file.After converting some text font name or font style missing then I have to compare with pdf and epub and highlight the exact text which font is missing.But because of duplicates I am not able to determine the text for highlight.
Your question is not very clear. I have guessed that for a html page that you are displaying in the web browser control you want to be able to highlight a word or words. If I am write I would have a look here[^] There is also a lot of example from Google: c# webbrowser highlight text[^]
Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON
-
I have one html document . I want to highlight text in html document but which text I want to highlight that is repeated text in html document . But I want to highlight only exact text according to my requirement then how can I determine the exact text which I want to highlight . Manually, I know that this text should have to highlight but how programmatically determine exact text to highlight between duplicates. Please some one can help to me. My exact scenario is giving below- I want to explain my scenario I have some pdf and converting in epub file.After converting some text font name or font style missing then I have to compare with pdf and epub and highlight the exact text which font is missing.But because of duplicates I am not able to determine the text for highlight.
-
Your question is not very clear. I have guessed that for a html page that you are displaying in the web browser control you want to be able to highlight a word or words. If I am write I would have a look here[^] There is also a lot of example from Google: c# webbrowser highlight text[^]
Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON
Hello , Thanks for your reply. Highlighting text is not a problem for me .My Problem is that while I am comparing epub to pdf , I am able to get text only not position of text. So I don't know the position of text and there is duplication of text which is making me uncomfortable to highlight text. if I know position of text or there is not a duplication of text then it is easy to highlight.