reserve

A measurement value that specifies the height or width of the caption.

The effect of this property is determined by the placement property. When the caption is placed at the left or right, the reserve property specifies the height of the caption region. When the caption is placed at the top or bottom, the reserve property specifies the width. When the caption is placed inline, the reserve property is ignored.

A reserve of 0 sets the caption area to auto-fit. It adjusts the size of the object to fit the caption.

Syntax

Reference_Syntax.reserve = "measurement"

Values

Type

Values

String

  • 0in (default)

  • Any valid measurement.

Applies to

Model

Object

Form Model

caption

Version

XFA 2.1

Examples

JavaScript

TextField1.caption.reserve = "1.5in";

FormCalc

TextField1.caption.reserve = "1.5in"

// Ethnio survey code removed