foxit.pdf.interform.ChoiceOption Class Reference

Inherits SystemIDisposable.

Public Member Functions

 ChoiceOption ()
 Constructor.

 
 ChoiceOption (string option_value, string option_label, bool selected, bool default_selected)
 Constructor, with parameters.
More...
 
 ChoiceOption (ChoiceOption option)
 Constructor, with another ChoiceOption.

 
void Set (string option_value, string option_label, bool selected, bool default_selected)
 Set value.
More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ChoiceOption()

foxit.pdf.interform.ChoiceOption.ChoiceOption ( string  option_value,
string  option_label,
bool  selected,
bool  default_selected 
)
inline

Constructor, with parameters.

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

Member Function Documentation

◆ Set()

void foxit.pdf.interform.ChoiceOption.Set ( string  option_value,
string  option_label,
bool  selected,
bool  default_selected 
)
inline

Set value.

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

Foxit Software Corporation Logo
@2018 Foxit Software Incorporated. All rights reserved.