Hi Gopinath,
You can add values to an existing ComboBox using AddListItem method of FormEditor class. You can use the following code snippet to add values:
//create new object of FormEditor class
FormEditor formEditor = new FormEditor("form.pdf", "output.pdf");
//add new item with export value
formEditor.AddListItem("combobox", new string[] { "First", "First" });
formEditor.AddListItem("combobox", new string[] { "Second", "Second" });
formEditor.AddListItem("combobox", new string[] { "Third", "Third" });
formEditor.AddListItem("combobox", new string[] { "Fourth", "Fourth" });
//save output PDF file
formEditor.Save();
I hope this helps. If you have any further questions, please do let us know.
Regards,
Shahzad Latif - [
Follow me on Twitter!]
Support Developer/Developer Evangelist
Aspose Sialkot Team
Aspose - Your File Format Experts
Keep in touch! We're on
Twitter and
Facebook