underline

Specifies the activation and type of underlining.

Syntax

Reference_Syntax.underline = "0 | 1 | 2"

Values

Type

Values

String

  • 0 (default)

  • The font renders without underlining.

  • 1

  • The font renders with a single underline.

  • 2

  • The font renders with a double underline.

Applies to

Model

Object

Form Model

font

Version

XFA 2.1

Examples

JavaScript

TextField1.font.underline = "2";

FormCalc

TextField1.font.underline = "2"

// Ethnio survey code removed