Javascript: TXTextControl.isLanguageDetectionEnabled Property
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.isLanguageDetectionEnabledExamples
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);