TextBoxField

TextBoxField

概述

TextBoxField 是 Aspose.PDF 中的类型.

TextBoxField 是单行或多行文本输入.

这个类型提供了10种方法,用于在Go程序中与 TextBoxField 对象工作. 有的方法包括: IsMultiline, IsPassword, MaxLen, SetMaxLen, SetMultiline, SetPassword, SetReadOnly, SetRequired, SetValue, Value. 在安装了Aspose.PDF FOSS for Go 包后,所有公众成员都可以访问任何Go应用程序.

方法

Signature描述情况
Value()string返回值.
SetValue(s: string)error设置 value value。.
MaxLen()int返回最大的线.
IsMultiline()bool如果设置多线则返回true.
IsPassword()bool如果设置密码,则返回true.
SetReadOnly(v: bool)设置只读值。.
SetRequired(v: bool)设置所需的值。.
SetMultiline(v: bool)设置多行值。.
SetPassword(v: bool)设置密码值。.
SetMaxLen(n: int)SetMaxLen 设置最大字符数.

查看更多

 中文