Error getting tags :
error 404Error getting tags :
error 404 textShift | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
textShift
Basics
Expander triangle
Type
Property
Syntax

set the textShift of chunk of field to pixels

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies how far text is shifted up or down from its baseline.
Examples

set the textShift of last char of word 2 of field 1 to 3 -- subscript
set the textShift of char 12 of the selectedField to -1 -- superscript

Additional Comments
Expander triangle

Use the textShift property to subscript and superscript chunks of text in a field.

Value:

The textShift of a chunk of a field is an integer.

By default, the textShift property of newly created fields is set to zero.

Comments:

The textShift is the number of pixels to shift the text down from the baseline, creating a subscript. If the textShift is negative, the text is shifted up (superscripted). If the textShift is zero, the text is placed in normal position, not shifted up or down.

Note: If the field's fixedLineHeight property is true, you may need to increase the field's textHeight to make room for subscripts and superscripts.

User Comments
Expander triangle