DocumentBase.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
Assembly: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Syntax
'Declaration
Public Property LanguageDetected As Boolean
public bool LanguageDetected { get; set; }
Property Value
Type: System.Boolean
true if Word has detected the language of the document; otherwise, false.
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.
.NET Framework Security
- 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.