Home > @i2analyze/notebook-sdk > app > ILocale > baseTextDirection
app.ILocale.baseTextDirection property
Gets the base direction of text in the user interface, which controls how mixed LTR/RTL text should behave.
Signature:
readonly baseTextDirection: data.BaseTextDirection;
Returns: data.BaseTextDirection
Introduced: version 1.0
Remarks
To achieve proper bi-directional text behavior in mixed left-to-right/right-to-left environments, most text should be marked up with Unicode control characters such as LRE, RLE and PDF. data.IFormatter.wrapForBidi() provides support for such markup.
The default value is contextual
, but users might override it if they have specific bi-directional text requirements. See the data.BaseTextDirection documentation for details of the supported values.