|
Foxit PDF SDK
|
Inherits FoxitPDFSDKPython3._object.
Public Member Functions | |
| def | ChoiceOption () |
| Constructor. | |
| def | ChoiceOption (option_value, option_label, selected, default_selected) |
| Constructor, with parameters. More... | |
| def | ChoiceOption (option) |
| Constructor, with another choice option object. More... | |
| def | Set (option_value, option_label, selected, default_selected) |
| Set value. More... | |
Static Public Attributes | |
| default_selected = _fsdk.ChoiceOption_default_selected | |
| Used to indicate whether the option would be selected by default or not. | |
| option_label = _fsdk.ChoiceOption_option_label | |
| The displayed string value for the option. | |
| option_value = _fsdk.ChoiceOption_option_value | |
| The option string value. | |
| selected = _fsdk.ChoiceOption_selected | |
| Used to indicate whether the option is selected or not. | |
This class represents the data of an option in list box or combo box.
| def FoxitPDFSDKPython3.ChoiceOption.ChoiceOption | ( | option_value, | |
| option_label, | |||
| selected, | |||
| default_selected | |||
| ) |
Constructor, with parameters.
| [in] | option_value | The option string value. |
| [in] | option_label | The displayed string value for the option. |
| [in] | selected | true means the option is selected, and false means the option is not selected. |
| [in] | default_selected | true means the option would be selected by default, and false means the option would not be selected by default. |
| def FoxitPDFSDKPython3.ChoiceOption.ChoiceOption | ( | option | ) |
Constructor, with another choice option object.
| [in] | option | Another choice option object. |
| def FoxitPDFSDKPython3.ChoiceOption.Set | ( | option_value, | |
| option_label, | |||
| selected, | |||
| default_selected | |||
| ) |
Set value.
| [in] | option_value | The option string value. |
| [in] | option_label | The displayed string value for the option. |
| [in] | selected | true means the option is selected, and false means the option is not selected. |
| [in] | default_selected | true means the option would be selected by default, and false means the option would not be selected by default. |