baselineShift

Specifies a positive measurement that shifts a font up from the baseline or a negative measurement that shifts a font down from the baseline.

Syntax

Reference_Syntax.baselineShift = "0in | measurement"

Values

Type

Values

String

  • 0in (default)

  • Any valid measurement.

Applies to

Model

Object

Form Model

font

Version

XFA 2.1

Examples

JavaScript

TextField1.font.baselineShift = "-5pt";

FormCalc

TextField1.font.baselineShift = "-5pt"

// Ethnio survey code removed