Javascript: SelectionFormFieldInfo Constructor
Description
Initializes a new instance of the SelectionFormFieldInfo class.
Syntax
SelectionFormFieldInfo(<Number> emptyWidth, <Boolean> isDropDownArrowVisible, <Number> selectedIndex)Parameters
| Parameter | Description |
|---|---|
| emptyWidth | The horizontal width of the empty field in twips. |
| isDropDownArrowVisible | The visibility of the drop down arrow. |
| selectedIndex | The index of the selected item. |
Examples
The following example demonstrates SelectionFormFieldInfo in a practical document-editing workflow. Initializes a new instance of the SelectionFormFieldInfo class.
const selectionFormFieldInfo = SelectionFormFieldInfo(1440, true, 0);
console.log("Created SelectionFormFieldInfo value:", selectionFormFieldInfo);