setChoiceValue

fun setChoiceValue(field: PdfFormField, value: String)

Set a choice field (/Ch: combo box or list box) to value. Sets /V, sets /I (selected index) when the value is found in /Opt, and regenerates the widget appearance so the selection is visible.