Foxit PDF SDK
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_valueThe option string value.
[in]option_labelThe displayed string value for the option.
[in]selectedtrue means the option is selected, and false means the option is not selected.
[in]default_selectedtrue means the option would be selected by default, and false means the option would not be selected by default.

Set value.

Parameters
[in]option_valueThe option string value.
[in]option_labelThe displayed string value for the option.
[in]selectedtrue means the option is selected, and false means the option is not selected.
[in]default_selectedtrue means the option would be selected by default, and false means the option would not be selected by default.
Returns
None.