|
Foxit PDF SDK
|
Inherits Object.
Public Member Functions | |
| ChoiceOption () | |
| Constructor. | |
| ChoiceOption (const wchar_t *option_value, const wchar_t *option_label, bool selected, bool default_selected) | |
| Constructor, with parameters. More... | |
| ChoiceOption (const ChoiceOption &option) | |
| Constructor, with another choice option object. More... | |
| ChoiceOption & | operator= (const ChoiceOption &option) |
| Assign operator. More... | |
| void | Set (const wchar_t *option_value, const wchar_t *option_label, bool selected, bool default_selected) |
| Set value. More... | |
Public Attributes | |
| bool | default_selected |
| Used to indicate whether the option would be selected by default or not. | |
| WString | option_label |
| The displayed string value for the option. | |
| WString | option_value |
| The option string value. | |
| bool | 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.
|
inline |
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. |
|
inline |
Constructor, with another choice option object.
| [in] | option | Another choice option object. |
|
inline |
Assign operator.
| [in] | option | Another choice option object, whose value would be assigned to current object. |
|
inline |
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. |