Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 16, 2011 06:14 AM by shree_ars
Participant
1395 Points
776 Posts
Aug 10, 2011 10:00 AM|LINK
my issue is, i need to find the list of words in a word document from asp.net.
user wii upload the file and the interp class of word will find the words and i display the count of each finded word.
now i need to highlight those founded word to the uploaded document. how to do it in asp.net.
Aug 16, 2011 06:14 AM|LINK
Yes In the case of word document:
once the word get founded under the range the by using the below property
docRange.HighlightColorIndex = Microsoft.Office.Interop.Word.WdColorIndex.wdDarkYellow;
docRange.Font.ColorIndex = Microsoft.Office.Interop.Word.WdColorIndex.wdWhite;
we can assign the color to the founded word for highlighting.
shree_ars
Participant
1395 Points
776 Posts
highlight text from asp.net
Aug 10, 2011 10:00 AM|LINK
my issue is, i need to find the list of words in a word document from asp.net.
user wii upload the file and the interp class of word will find the words and i display the count of each finded word.
now i need to highlight those founded word to the uploaded document. how to do it in asp.net.
shree_ars
Participant
1395 Points
776 Posts
Re: highlight text from asp.net
Aug 16, 2011 06:14 AM|LINK
Yes In the case of word document:
once the word get founded under the range the by using the below property
docRange.HighlightColorIndex = Microsoft.Office.Interop.Word.WdColorIndex.wdDarkYellow;
docRange.Font.ColorIndex = Microsoft.Office.Interop.Word.WdColorIndex.wdWhite;
we can assign the color to the founded word for highlighting.