Error getting tags :
error 404Error getting tags :
error 404 textHeight | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
textHeight
Basics
Expander triangle
Type
Property
Syntax
set the textHeight 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 the amount of space between lines of text in a field.
Examples

get the effective textHeight of field "Results"
set the textHeight of field 1 to theLines * the textHeight of field 1

Additional Comments
Expander triangle

Use the textHeight property to change the appearance of text in a field.

Value:

The textHeight of a field is an integer greater than or equal to 4.

By default, the textHeight property of newly created fields is set to 4/3 times the textSize of the field.

Comments:

The textHeight property determines how tall each line of a field is, and is equal to the vertical distance in pixels between the baseline of one line and the baseline of the next. The minimum textHeight is 4 pixels.

If you change the field's textSize, Revolution automatically sets the textHeight to trunc(4/3 * the textSize of field). For example, if the textSize is set to 12, the textHeight is set to 16 by default. If the textSize is set to 14, the textHeight is set to 18.

If a field's fixedLineHeight property is false, the textHeight of the field has no effect: in this case, the text height of each line is determined by the size of the largest text in the line, and changing the textHeight doesn't change the spacing of lines.

User Comments
Expander triangle