ComboBoxField

ComboBoxField

概述

ComboBoxField 是 Aspose.PDF 中的类型.

ComboBoxField是一个单选式选择字段.

这个类型提供了10种方法,用于在Go程序中与 ComboBoxField 对象工作. 有的方法包括: AddOption, Options, RemoveOption, Selected, SetEditable, SetReadOnly, SetRequired, SetSelected, SetValue, Value. 在安装了Aspose.PDF FOSS for Go 包后,所有公众成员都可以访问任何Go应用程序.

方法

Signature描述情况
Value()string返回值.
SetValue(s: string)error设置值 value。.
Options()[]ChoiceOption返回选项.
Selected()int返回选定的.
SetSelected(index: int)error设置所选值。.
SetEditable(v: bool)转换 19 (/Ff编辑).
AddOption(o: ChoiceOption)添加一个 ChoiceOption 到 /Opt.
RemoveOption(index: int)error删除了指数中的选项.
SetReadOnly(v: bool)在选择类型上.
SetRequired(v: bool)设置所需的值。.

查看更多

 中文