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)。 |