Foxit PDF SDK
fsdk.WidgetChoiceOption类 参考

Public 成员函数

def GetOption_label ()
 Get 选项的显示字符串值。 更多...
 
def GetSelected ()
 Get 用于指示选项是否被选中。 更多...
 
def Set (option_label, selected)
 设置值。 更多...
 
def SetOption_label (value)
 Set 选项的显示字符串值。 更多...
 
def SetSelected (value)
 Set 用于指示选项是否被选中。 更多...
 

详细描述

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

成员函数说明

◆ GetOption_label()

fsdk.WidgetChoiceOption.GetOption_label ( )

Get 选项的显示字符串值。

返回
选项的显示字符串值。

◆ GetSelected()

fsdk.WidgetChoiceOption.GetSelected ( )

Get 用于指示选项是否被选中。

返回
用于指示选项是否被选中。

◆ Set()

def fsdk.WidgetChoiceOption.Set (   option_label,
  selected 
)

设置值。

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

◆ SetOption_label()

fsdk.WidgetChoiceOption.SetOption_label (   value)

Set 选项的显示字符串值。

参数
[in]value选项的显示字符串值。
返回
None.

◆ SetSelected()

fsdk.WidgetChoiceOption.SetSelected (   value)

Set 用于指示选项是否被选中。

参数
[in]value用于指示选项是否被选中。
返回
None.