FormFieldBuilder

FormFieldBuilder

Overview

FormFieldBuilder 是一个类在Aspose.PDF FOSS的.NET中.

创建新的交互式表单字段并将其添加到PDF文件中.

本类提供了在NET程序中与FormFieldBuilder对象工作的7种方法. 有的方法包括: AddCheckBox, AddComboBox, AddListBox, AddRadioButton, AddSignatureField, AddTextField, FormFieldBuilder. 所有公众成员在安装了Aspose.PDF FOSS for .NET 包后,可以访问任何.NET应用程序.

Methods

SignatureDescription
FormFieldBuilder(document: Document)在这个 FormFieldBuilder 实例中调用FormFieldBuilder.
AddTextField(page: Page, name: string, rect: Rectangle, defaultValue: string?, fontSize: double)在页面上添加一个文本字段.
AddCheckBox(page: Page, name: string, rect: Rectangle, isChecked: bool)添加一个选框字段到页面.
AddComboBox(page: Page, name: string, rect: Rectangle, options: string[], selectedValue: string?, fontSize: double)添加一个选项字段 (下拉/组合框) 到页面.
AddRadioButton(page: Page, name: string, optionRects: Rectangle[], optionValues: string[], selectedIndex: int)添加一个有多个选项的无线电按组到页面上.
AddListBox(page: Page, name: string, rect: Rectangle, options: string[], selectedValue: string?, fontSize: double)将列表框字段添加到页面中.
AddSignatureField(page: Page, name: string, rect: Rectangle)添加一个空签名字段的位置保留符.

See Also

 中文