Foxit PDF SDK
fsdk.WidgetChoiceOption Class Reference

Public Member Functions

def GetOption_label ()
 Get the displayed string value for the option. More...
 
def GetSelected ()
 Get used to indicate whether the option is selected or not. More...
 
def Set (option_label, selected)
 Set value.
More...
 
def SetOption_label (value)
 Set the displayed string value for the option. More...
 
def SetSelected (value)
 Set used to indicate whether the option is selected or not. More...
 

Detailed Description

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

Member Function Documentation

◆ GetOption_label()

fsdk.WidgetChoiceOption.GetOption_label ( )

Get the displayed string value for the option.

Returns
The displayed string value for the option.

◆ GetSelected()

fsdk.WidgetChoiceOption.GetSelected ( )

Get used to indicate whether the option is selected or not.

Returns
Used to indicate whether the option is selected or not.

◆ Set()

def fsdk.WidgetChoiceOption.Set (   option_label,
  selected 
)

Set value.

Parameters
[in]option_labelThe displayed string value for the option.
[in]selectedtrue means the option is selected, and false means the option is not selected.
Returns
None.

◆ SetOption_label()

fsdk.WidgetChoiceOption.SetOption_label (   value)

Set the displayed string value for the option.

Parameters
[in]valueThe displayed string value for the option.
Returns
None.

◆ SetSelected()

fsdk.WidgetChoiceOption.SetSelected (   value)

Set used to indicate whether the option is selected or not.

Parameters
[in]valueUsed to indicate whether the option is selected or not.
Returns
None.