DS Server

Javascript: TXTextControl.isLanguageDetectionEnabled Property

PropertyDeprecated|Introduced in 24.0

Description

Obsolete. This property will be removed in one of the next versions. Use the setter and getter methods instead. Gets or sets a value indicating whether language detection is active or not.

Syntax

<boolean> TXTextControl.isLanguageDetectionEnabled

Examples

The following example demonstrates TXTextControl.isLanguageDetectionEnabled in a practical document-editing workflow. Obsolete. This property will be removed in one of the next versions. Use the setter and getter methods instead. Gets or sets a value indicating whether language detection is active or not.

const isLanguageDetectionEnabled = tXTextControl.isLanguageDetectionEnabled;
console.log("is language detection enabled:", isLanguageDetectionEnabled);