Macro Language Reference > PIs > Text > <?tpdir>
  
<?tpdir>
Description
Sets the direction of text and column flow for a paragraph, which is useful for systems based on Arabic or any other language that reads text in the same way.
Please note that the appearance of text set to flow from right to left will differ between the Standard and Unicode versions of PTC ALD
Standard: text will start from the right margin but characters will appear in the same order as left to right text, i.e:
Right to left text
Unicode: text will start from the right margin and the order of characters will be changed to start from the right:
txet tfel ot thgiR
The Unicode version can read character information from languages that should read from right to left to provide this output.
Syntax
<?tpdir direction_code:n?>
<?tpdir>
[no parameter]
Invoke the Direction of text in paragraph dialog box.
direction_code
0
Set flow to left to right (Latin).
1
Set flow to right to left (Arabic).