_Document.LanguageDetected Property
Returns or sets a value that specifies whether Microsoft Word has detected the language of the specified text.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property LanguageDetected As Boolean
Get
Set
'Usage
Dim instance As _Document
Dim value As Boolean
value = instance.LanguageDetected
instance.LanguageDetected = value
bool LanguageDetected { get; set; }
Property Value
Type: System.Boolean
Remarks
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.