如何使用C#突出显示单词文档的关键字? [英] How can highlight the word document's key word using C#??
本文介绍了如何使用C#突出显示单词文档的关键字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在我的应用程序中打开了一个单词文档.我想在单词文档中找到关键词.我该怎么办?
例如突出显示文档(* .doc)中的所有单词您"(
I have open a word document in my application.I want hight the key word in the word document.How can I do??
such as highlight all the word "you" in the document(*.doc)
推荐答案
此论坛可能会帮助
http://social.msdn.microsoft.com/论坛/en-SG/netfxbcl/thread/9fba8427-8b3c-44f2-b19f-92eb5108693b [
this forum might help
http://social.msdn.microsoft.com/Forums/en-SG/netfxbcl/thread/9fba8427-8b3c-44f2-b19f-92eb5108693b[^]
谢谢!这就是我所需要的.
thank you! that is what I need.
在我的文档中包含文本"I have".如果我循环这些单词,我只会将"I"作为一个单词,然后将"have"是一个字.我想突出显示整个字符串.我该怎么办?谢谢!!!
in my word Document is having text "I have".if i loop through the words i am gettiing only the "I" as one word and "have" is one word. i want to Highlight the entire string.How can i do? thank you!!
这篇关于如何使用C#突出显示单词文档的关键字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文