Document.LanguageDetected Property
Visual Studio 2012
Gets or sets a value that indicates whether Microsoft Office Word has detected the language of the text in the document.
Assemblies: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Check the LanguageID property for the results of any previous language detection.
The LanguageDetected property is set to true when the DetectLanguage method is called. To reevaluate the language of the specified text, you must first set the LanguageDetected property to false.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.