ComboBox replace options

Product: PDFTron.Net.x64
Product Version: 11.2.0

How can I remove or replace the options in a ComboBox / ListBox?

The PDFTron.Net.x64 does not provide functions for this while for example in the C++ API I see RemoveOption and ReplaceOption methods.
https://sdk.apryse.com/api/PDFTronSDK/cpp/classpdftron_1_1_p_d_f_1_1_annots_1_1_combo_box_widget.html

Thanks

1 Like

Hello! Thanks for reaching out.

Removing options should be available through out .Net library as well. You can find the same method in our .Net API here: Class ComboBoxWidget

If this still doesn’t work for you, could you share the code you are using to try and remove the option?

Thanks for your patience while we look into this.

1 Like

Hi, my problem is that these functions are simply missing from the .NET core version and I can not switch to other version. The .NET core documentation also does not mention these functions: Class ComboBoxWidget . My issue is similar to this: How to get ComboBoxWidget Options in PDFTron.NET.x64 - #4 by Ryan

Note: this applies to the ListBoxWidget as well.

Thanks

1 Like

Thanks for clarifying, I am going to bring this up with the team again to see about getting those in .Net core.

In the meantime, were you able to try the solution in that other post? Did it work as expected, or is that not working for .Net core either?

Thanks for your patience, and clarifications.

1 Like

Hi, the solution from the other thread for getting the existing options of the combobox works fine. But I don’t know how to replace the existing options in an existing combobox because the necessary methods are missing. Perhaps there is some low level pdf manipulation option?
Thank you.

1 Like