locked
Grammar Checking Using word.CheckGrammar() in C# RRS feed

  • Question

  • User-135414128 posted

    Hi All,

    I am trying word.CheckGrammar(string Parameter)  for grammar checking, but it doesn't work well and always returns false,  which means grammar error.

                        Microsoft.Office.Interop.Word.Application word = new Microsoft.Office.Interop.Word.Application();
                        string statement1 = "Here is a test example.";
                        bool v1 = word.CheckGrammar(statement1);

    Any clue?  Thanks a lot for any help. :)

    Ann (Aiqiu)

    Tuesday, April 20, 2021 12:21 AM

All replies