Foxit PDF SDK

Public Member Functions | Public Attributes | List of all members
FSDK.ChoiceOption Class Reference

## Public Member Functions
| constructor ()
| Constructor.
| constructor (option_value, option_label, selected, default_selected) Set(option_value
| Constructor, with parameters. More...

## Public Attributes
| default_selected
| Used to indicate whether the option would be selected by default or not.
| option_label
| The displayed string value for the option.
| option_value
| The option string value.
| selected
| Used to indicate whether the option is selected or not.

## Detailed Description

This class represents the data of an option in list box or combo box.

## Member Function Documentation

## ◆ constructor()

FSDK.ChoiceOption.constructor | ( |  | option_value,
|  |  | option_label,
|  |  | selected,
|  |  | default_selected
| ) |  |

Constructor, with parameters.

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.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.

Returns
  None.