DS Server

Javascript: TextFormFieldInfo Constructor

Constructor|Introduced in 30.0

Description

Initializes a new instance of the TextFormFieldInfo class.

Syntax

TextFormFieldInfo(<Number> emptyWidth)

Parameters

ParameterDescription
emptyWidth

The horizontal width of the empty field in twips.

Examples

The following example demonstrates TextFormFieldInfo in a practical document-editing workflow. Initializes a new instance of the TextFormFieldInfo class.

const textFormFieldInfo = TextFormFieldInfo(1440);
console.log("Created TextFormFieldInfo value:", textFormFieldInfo);