lineThrough

Specifies the activation of a single or double line extending through the text (also known as strikethrough).

Syntax

Reference_Syntax.lineThrough = "0 | 1 | 2"

Values

Type

Values

String

  • 0 (default)

  • 1

  • 2

The font renders without a line through the text.

  • 1

  • 2

The font renders with a single line through the text.

  • 2

The font renders with a double line through the text.

Applies to

Model

Object

Form Model

font

Version

XFA 2.1

Examples

JavaScript

TextField1.font.lineThrough = "2";

FormCalc

TextField1.font.lineThrough = "2"

// Ethnio survey code removed