Foxit PDF SDK
foxit.addon.xfa.WidgetChoiceOption类 参考

继承自 SystemIDisposable .

Public 成员函数

 WidgetChoiceOption ()
 构造函数。
 
 WidgetChoiceOption (string option_label, bool selected)
 构造函数,带参数。 更多...
 
 WidgetChoiceOption (WidgetChoiceOption option)
 构造函数,使用另一个选择选项对象。 更多...
 
void Set (string option_label, bool selected)
 设置值。 更多...
 

属性

string option_label [get, set]
 选项的显示字符串值。
 
bool selected [get, set]
 用于指示选项是否被选中。
 

详细描述

此类表示列表框或组合框中选项的数据。

构造及析构函数说明

◆ WidgetChoiceOption() [1/2]

foxit.addon.xfa.WidgetChoiceOption.WidgetChoiceOption ( string  option_label,
bool  selected 
)
inline

构造函数,带参数。

参数
[in]option_label选项的显示字符串值。
[in]selectedtrue 表示选项被选中,false 表示 选项未被选中。

◆ WidgetChoiceOption() [2/2]

foxit.addon.xfa.WidgetChoiceOption.WidgetChoiceOption ( WidgetChoiceOption  option)
inline

构造函数,使用另一个选择选项对象。

参数
[in]option另一个选择选项对象。

成员函数说明

◆ Set()

void foxit.addon.xfa.WidgetChoiceOption.Set ( string  option_label,
bool  selected 
)
inline

设置值。

参数
[in]option_label选项的显示字符串值。
[in]selectedtrue 表示选项被选中,false 表示 选项未被选中。
返回
无。