Class TableBuilder

Class TableBuilder

Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll

类表示 PDF 页面中表格的构建器。

public class TableBuilder

继承

objectTableBuilder

派生

TableRowBuilder

继承的成员

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

方法

AddRow()

向表中添加新行。

public virtual TableRowBuilder AddRow()

返回

TableRowBuilder

当前 Aspose.Pdf.Plugins.TableRowBuilder 的实例。

AddTable()

向文档添加新表。

public TableBuilder AddTable()

返回

TableBuilder

当前 Aspose.Pdf.Plugins.TableBuilder 的实例。

InsertPageAfter(int)

在指定页面后插入页面。

public TableOptions InsertPageAfter(int page)

参数

page int

要在其后插入表的页码。

返回

TableOptions

当前 Aspose.Pdf.Plugins.TableOptions 的实例。

InsertPageBefore(int)

在指定页面前插入页面。

public TableOptions InsertPageBefore(int page)

参数

page int

要在其后插入表的页码。

返回

TableOptions

当前 Aspose.Pdf.Plugins.TableOptions 的实例。

运算符

implicit operator TableOptions(TableBuilder)

将构建器 Aspose.Pdf.Plugins.TableBuilder 转换为选项 Aspose.Pdf.Plugins.TableOptions

public static implicit operator TableOptions(TableBuilder builder)

参数

builder TableBuilder

当前 Aspose.Pdf.Plugins.TableBuilder 的实例。

返回

TableOptions

转换为 PdfGeneratorTableOptions 的结果。

 中文