RowFormat
RowFormat
概述
RowFormat 是 Aspose.Words FOSS 中用于 .NET 的类。继承自:IBorderAttrSource。
表示表格行的所有格式。
此类提供 1 个用于在 .NET 程序中处理 RowFormat 对象的方法。可用的方法包括:ClearFormatting。安装了用于 .NET 的 Aspose.Words FOSS 包后,所有公共成员对任何 .NET 应用程序均可访问。属性:AllowBreakAcrossPages、Borders、HeadingFormat、Height、HeightRule。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Borders | BorderCollection | 读取 | 获取该行的默认单元格边框集合。 |
Height | double | 读写 | 获取或设置表格行的高度(单位为点)。 |
HeightRule | HeightRule | 读写 | 获取或设置用于确定表格行高度的规则。 |
AllowBreakAcrossPages | bool | 读写 | 如果允许表格行中的文本在分页符处拆分,则为 True。 |
HeadingFormat | bool | 读写 | 如果表格跨越多页时,该行在每页上作为表格标题重复出现,则为 True。 |
方法
| 签名 | 描述 |
|---|---|
ClearFormatting() | 重置为默认的行格式。 |