Compartilhar via


DocumentBase.LanguageDetected Property

Definition

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

public:
 property bool LanguageDetected { bool get(); void set(bool value); };
public bool LanguageDetected { get; set; }
member this.LanguageDetected : bool with get, set
Public Property LanguageDetected As Boolean

Property Value

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.

Applies to