BIDI > Support of Bidirectional and Contextual Languages > Bidirectional Attributes   > The IlvLayoutDirection Attribute
 
The IlvLayoutDirection Attribute
Although a text combining Latin and Arabic alphabets contains bidirectional phrase segments, there is always a reading direction that prevails. The IlvLayoutDirection attribute specifies a main direction for textual information and graphic objects. For character strings, this attribute determines the reading direction. For graphic objects, it indicates their orientation, or the reading direction of the text they hold, if any.
Possible Values
This attribute can have one of the following values:
*IlvLayoutDirectionLeftToRight - The main direction is from left to right.
*IlvLayoutDirectionRightToLeft - The main direction is from right to left.
*IlvLayoutDirectionContextual - The main direction depends on the context. This value is interpreted differently depending on whether it applies to a character string or to a graphic object:
*For a character string, Rogue Wave Views Bidi determines the main direction of the string by inspecting its contents.
*For an object, Rogue Wave Views Bidi uses the default orientation set for the IlvDisplay associated with the object.
Limitation
In Rogue Wave Views Bidi for Windows, the value IlvLayoutDirectionContextual is not supported for character strings.

Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.