Expand Minimize
This topic has not yet been rated - Rate this topic

Document.LanguageDetected Property

Gets or sets a value that indicates whether Microsoft Office Word has detected the language of the text in the document.

Namespace:  Microsoft.Office.Tools.Word
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)
bool LanguageDetected { get; set; }

Property Value

Type: Boolean
true if Word has detected the language of the document; otherwise, false.

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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.