<doc>
  <legacy_id>2443</legacy_id>
  <name>textShift</name>
  <type>property</type>
  <syntax>
    <example>set the textShift of <i>chunk</i> of <i>field</i> to <i>pixels</i></example>
  </syntax>
  <library></library>
  <objects>
    <field/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <property tag="fixedLineHeight">fixedLineHeight Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Specifies how far text is shifted up or down from its baseline.</summary>
  <examples>
    <example>set the textShift of last char of word 2 of field 1 to 3 <i>-- subscript</i></example>
    <example>set the textShift of char 12 of the selectedField to -1 <i>-- superscript</i></example>
  </examples>
  <description>
    <p>Use the <b>textShift</b> <glossary tag="property">property</glossary> to subscript and superscript <glossary tag="chunk">chunks</glossary> of text in a <keyword tag="field">field</keyword>.</p><p/><p><b>Value:</b></p><p>The <b>textShift</b> of a chunk of a <keyword tag="field">field</keyword> is an <keyword tag="integer">integer</keyword>.</p><p/><p>By default, the <b>textShift</b> <glossary tag="property">property</glossary> of newly created <glossary tag="field">fields</glossary> is set to zero.</p><p/><p><b>Comments:</b></p><p>The <b>textShift</b> is the number of <property tag="pixels">pixels</property> to shift the text down from the baseline, creating a subscript. If the <b>textShift</b> is <glossary tag="negative">negative</glossary>, the text is shifted up (superscripted). If the <b>textShift</b> is zero, the text is placed in normal position, not shifted up or down.</p><p/><p><b>Note:</b> If the <glossary tag="field">field's</glossary> <property tag="fixedLineHeight">fixedLineHeight</property> <glossary tag="property">property</glossary> is true, you may need to increase the <glossary tag="field">field's</glossary> <property tag="textHeight">textHeight</property> to make room for subscripts and superscripts.</p>
  </description>
</doc>