如何在C#表单应用程序中自动对英文单词加下划线那些拼写错误 [英] How to make underline to English words automatically those spellings are wrong in C# form application

查看:68
本文介绍了如何在C#表单应用程序中自动对英文单词加下划线那些拼写错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在不使用Microsoft单词拼写检查器的情况下在C#表单应用程序中自动使英文单词下划线那些拼写错误.

就像在代码项目中一样,当我们编写问题时,错误的代码项目会为错误的拼写提供红色下划线,而当我们右键单击该错误的拼写时,它将提供可能的正确拼写的列表.
我想做与代码项目中相同的操作.
在此先感谢您.

How to make underline to English words automatically those spellings are wrong in C# form application without using Microsoft words spell checker.

As in code project-when we write question wrong code project provides red underline to wrong spelling,and when we right click on that wrong spelling it provides list of probable correct spellings.
I want to do same as in code project.
Thanks in advance.

推荐答案

有一篇有关如何执行该操作的MSDN文章 ^ ]
There is an MSDN article on how to do that here[^]


您好,

我认为您必须使用Microsoft Word对象库和RichTextBox类

按照本文的步骤使用开源代码获取您想要的内容:

使用Microsoft Office Word进行拼写检查并在错误的单词下划线 [
hello ,

i think u have to use Microsoft word object library and RichTextBox class

follow this article with an open source code to get what u want :

Spell check and underline the wrong word using Microsoft Office Word[^]


i hope u understand and good luck :)


这篇关于如何在C#表单应用程序中自动对英文单词加下划线那些拼写错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆