Table

概述

Table 是 Aspose.PDF 为 C++ 提供的 FOSS 中的一个类。

Table 类允许开发者构建 PDF 表格,并对行、列宽、边框、单元格内边距以及默认文本状态进行完整控制。

此类为在 C++ 程序中操作 Table 对象提供了 30 个方法。可用的方法包括:Alignment、BackgroundColor、Border、ColumnWidths、DefaultCellBorder、DefaultCellPadding、DefaultCellTextState、DefaultColumnWidth、IsBordersIncluded、IsBroken、Left、RepeatingColumnsCount,以及另外 3 个方法。安装 Aspose.PDF FOSS for C++ 包后,所有公共成员对任何 C++ 应用程序均可访问。

方法

签名描述
Rows() → Aspose::Pdf::Rows在此 Table 实例上调用 Rows。
Rows() → Aspose::Pdf::Rows
ColumnWidths() → std::string在此 Table 实例上调用 ColumnWidths。
ColumnWidths(value: std::string)在此 Table 实例上调用 ColumnWidths(value)。
DefaultColumnWidth() → std::string在此 Table 实例上调用 DefaultColumnWidth。
DefaultColumnWidth(value: std::string)在此 Table 实例上调用 DefaultColumnWidth(value)。
Border() → BorderInfo在此 Table 实例上调用 Border。
Border(value: BorderInfo)在此 Table 实例上调用 Border(value)。
DefaultCellBorder() → BorderInfo在此 Table 实例上调用 DefaultCellBorder。
DefaultCellBorder(value: BorderInfo)在此 Table 实例上调用 DefaultCellBorder(value)。
DefaultCellPadding() → MarginInfo在此 Table 实例上调用 DefaultCellPadding。
DefaultCellPadding(value: MarginInfo)在此 Table 实例上调用 DefaultCellPadding(value)。
DefaultCellTextState() → Aspose::Pdf::Text::TextState在此 Table 实例上调用 DefaultCellTextState。
DefaultCellTextState(value: Aspose::Pdf::Text::TextState)在此 Table 实例上调用 DefaultCellTextState(value)。
Alignment() → Aspose::Pdf::HorizontalAlignment在此 Table 实例上调用 Alignment。
Alignment(value: Aspose::Pdf::HorizontalAlignment)在此 Table 实例上调用 Alignment(value)。
Left() → float在此 Table 实例上调用 Left。
Left(value: float)在此 Table 实例上调用 Left(value)。
Top() → float在此 Table 实例上调用 Top。
Top(value: float)在此 Table 实例上调用 Top(value)。
BackgroundColor() → Aspose::Pdf::Color在此 Table 实例上调用 BackgroundColor。
BackgroundColor(value: Aspose::Pdf::Color)在此 Table 实例上调用 BackgroundColor(value)。
IsBordersIncluded() → bool如果已设置 borders included,则返回 true。
IsBordersIncluded(value: bool)在此 Table 实例上调用 IsBordersIncluded(value)。
RepeatingRowsCount() → int在此 Table 实例上调用 RepeatingRowsCount。
RepeatingRowsCount(value: int)在此 Table 实例上调用 RepeatingRowsCount(value)。
RepeatingColumnsCount() → int在此 Table 实例上调用 RepeatingColumnsCount。
RepeatingColumnsCount(value: int)在此 Table 实例上调用 RepeatingColumnsCount(value)。
IsBroken() → bool如果 broken 已设置,则返回 true。
IsBroken(value: bool)对该 Table 实例调用 IsBroken(value)。

另请参阅

 中文