From Xojo Documentation
Returns an Enumeration that indicates the direction in which the text is written.
This is useful for non-Roman systems, especially Middle-Eastern languages. If you pass an empty string, it returns the system default string direction. If this function is not supported on the user's system, the Graphics.TextDirections value will be Unknown.
This example gets the string direction.