Word.SpellingSuggestions throws无法找到校对工具

时间:2012-12-08 04:12:32

标签: c# com ms-word office-interop

运行此代码:

_app = new Word.Application();
Word.SpellingSuggestions listOfSuggestions = _app.GetSpellingSuggestions(theWord, Missing.Value, Missing.Value, "Spanish (Mexico)");

引发此例外:无法找到

的校对工具
  • 我使用Word对象库12(应该是Word 2007)
  • 离开MainDictionary参数没有任何区别
  • 指定wdMexicanSpanish不起作用
  • 拼写检查适用于Word本身的英语和西班牙语。

可能出现什么问题?

0 个答案:

没有答案