Update listbox widget properties with type safety
Partial object containing properties to update
this instance for chaining
listboxWidget.update({
title: 'Updated Title',
options: [
{ value: 'Option 1', displayText: 'Option 1' },
{ value: 'Option 2', displayText: 'Option 2' }],
selectItemAtIndex: 1,
fontColor: '#0000FF',
fontSize: 14,
familyName: 'Times',
styleName: 'Bold'
});
await document.updateWidget(listboxWidget);
StaticfromStaticfromStaticparseThe list of options available in the listbox.
The index of the selected option in the listbox (default: 0).
The font color of the listbox (default: '#000000').
The font size of the listbox (default: 0).
The font family name of the listbox.
The font style name of the listbox.
The type of the form widget.
The title of the form widget (default: empty string).
ReadonlypageThe page number where the form widget appears (default: 0).
ReadonlyuuidThe unique identifier for the form widget (default: empty string).
The date when the form widget was created (default: null).
The rectangular coordinates of the form widget (default: null).
The border color of the form widget (default: '#000000').
The fill color of the form widget (default: '#000000').
Class representing a listbox form widget, storing basic information about the listbox form.
CPDFListboxWidget