Where can I find a free, easy to implement spellcheck component for .NET?

别说谁变了你拦得住时间么 提交于 2019-12-07 00:15:11

问题


This may be a tall order, but I'd like to find a spellchecker component that is easy to implement (I only need to spell-check one TextBox). I've looked around and cannot seem to find anything that doesn't cost a fortune, or isn't overly complicated to implement. I did find a wrapper for NHunspell, but couldn't get it to actually display the spell-check box for whatever reason.

ComponentOne's spell-check control is absolutely excellent, but of course, costs an absolute fortune since you can't buy just that component, you have to buy the whole suite. All the other ones I've found seem to be the same way.

I liked the ComponentOne version the best because all you had to do way reference it, initialize, and when you called it you simply told it which control to check. It was lovely.

Suggestions?


回答1:


You should check out NetSpell, very easy to implement.

Link to an example http://www.codeproject.com/KB/string/netspell.aspx




回答2:


If you can't use wpf, and you can accept do some work by hand, a very insteresting component is the SharpDevelop text editor: http://wiki.sharpdevelop.net/Using%20the%20texteditor.ashx it is not exactly a drag'drop component, but you can extend it with some sort of language service to provide your own spell check mechanism. The component offers to you all the graphic part: squiggles, highlighting and so on. And it is Winform (even if now there is a wpf version too)



来源:https://stackoverflow.com/questions/4912050/where-can-i-find-a-free-easy-to-implement-spellcheck-component-for-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!