<doc>
	<legacy_id></legacy_id>
	<name>textDirection</name>
	<type>property</type>

	<syntax>
		<example>set the textDirection of field to {ltr | rtl | empty}</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Specifies whether the field should lay out its contents in a left-to-right or right-to-left manner.</summary>

	<examples>
<example><p>set the textDirection of field "name input" to "rtl"</p></example>
	</examples>

	<history>
		<introduced version="7.0">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version=""></changed>
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
		<field/>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<desktop/>
		<server/>
		<web/>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
		<category></category>
		<category></category>
	</classification>

	<references>
		<property tag="cursorMovement">cursorMovement property</property>
	</references>

	<description>
	<overview>Use the <b>textDirection </b>property of a field to specify how the contents of a field should be laid out.</overview>

		<parameters>
<parameter>
<name>direction</name>
<description>The direction to be used to lay out the contents of a field</description> 
<options title="">
<option>
<item>ltr</item>
<description>Left-to-right</description>
</option>
<option>
<item>rtl</item>
<description>Right-to-left</description>
</option>
<option>
<item>empty</item>
<description>Auto-detect based on the contents of the field.</description>
</option>
</options>
</parameter>		</parameters>

	<value></value>
	<comments><p>The <b>textDirection </b>property of a field species how the contents of a field should be laid out.</p><p></p><p>The "ltr" direction specifies that the contents of the field are to be laid out in a left-to-right manner. Tabs and lines start at the left-hand side. Runs of RTL text will still be arranged correctly but will be aligned to the left.</p><p></p><p>The "rtl" direction specifies that the contents of the field are to be laid out in a right-to-left manner. Tabs and lines start at the right-hand side. Runs of LTR text will still be arranged correctly but will be aligned to the right.</p><p></p><p>Setting the <b>textDirection</b> property to empty indicates that the engine should auto-detect LTR or RTL behaviour based on the contents of the field. To do this, it looks for the first strongly-directional character in the field (e.g a Latin letter or an Arabic letter).</p></comments>
	</description>
</doc>