Adding items to an empty combo seems to be working. Adding export values is kind of working, but there's a small issue. The AddListItem method describes the second parameter as:
exportName: A string array denoting a new list item with Export Value, i.e. (Item Label, Export Value).
This would seem to indicate that item label should be be the first item item in the array and the export value should be second. However, the result is reversed.
Dim MyEditor As New FormEditor("..\SourceFile1.pdf", "..\Output.pdf")
Dim NewItem() As String = {"Item1", "Export1"}
MyEditor.AddListItem("cboDistofService", NewItem)
MyEditor.Save()
When I execute the above code, the text "Export1" is displayed in the dropdown list, and the text "Item1" is set as the export value. I assume this is backwards.
Thanks