checkGrammar method

checkGrammar(sourceDocument, options)

Checks grammar of the provided document. This operation leverages the connected AI model for checking grammar of document.

checkGrammar(sourceDocument: Aspose.Words.Document, options: Aspose.Words.AI.CheckGrammarOptions)
ParameterTypeDescription
sourceDocumentDocumentThe document being checked for grammar.
optionsCheckGrammarOptionsOptional settings to control how grammar will be checked.

Returns

A new Document with checked grammar.

See Also