Am 09.06.2017 um 13:16 schrieb Ronit Kadwane:
I am using PDFBox library to set the Values in PDF.

code block through I am trying to set values in ListBox

PDListBox listBox = (PDListBox) field;if (listBox.isMultiSelect()) {
   List<String> list = Arrays.asList("option 1","option 2");
   listBox.setValue(list);}

in result it shows only first value is selected from List<String> in PDF.
check result here https://i.stack.imgur.com/HvxU8.png .

How can I set multiple value selected in PDF?


Could you please upload your PDF file somewhere?


Tilman


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to