weight

Controls the weight of the font typeface.

Syntax

Reference_Syntax.weight = "bold | normal"

Values

Type

Values

String

  • bold (default)

  • The typeface is rendered with a bold weight.

  • normal

  • The typeface is rendered at the default typeface weight.

Applies to

Model

Object

Form Model

font

Version

XFA 2.1

Examples

JavaScript

TextField1.font.weight = "normal";

FormCalc

TextField1.font.weight = "normal"

// Ethnio survey code removed