IRow
概述
IRow 是 Aspose.Slides FOSS 中用于 Java 的接口。继承自:ICellCollection,IBulkTextFormattable。
表示表格中的一行。
此接口为在 Java 程序中使用 IRow 对象提供了 15 个方法。可用的方法包括:asICollection、asIEnumerable、asIPresentationComponent、asISlideComponent、get、getAsIBulkTextFormattable、getAsICellCollection、getHeight、getMinimalHeight、getPresentation、getRowFormat、getSlide,以及另外 3 个方法。安装 Aspose.Slides FOSS for Java 包后,所有公共成员对任何 Java 应用程序均可访问。属性包括:asIBulkTextFormattable、asICellCollection、height、minimalHeight、presentation、rowFormat,以及另外 1 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
height | double | 读取 | 返回行的高度。 |
minimalHeight | double | 读取 | 返回行的最小高度。 |
rowFormat | IRowFormat | 读取 | 返回包含此行格式属性的 RowFormat 对象。 |
asICellCollection | ICellCollection | 读取 | 允许获取基础的 ICellCollection 接口。 |
asIBulkTextFormattable | IBulkTextFormattable | 读取 | 允许获取基础的 IBulkTextFormattable 接口。 |
slide | IBaseSlide | 读取 | 返回父幻灯片。 |
presentation | IPresentation | 读取 | 返回包含此组件的演示文稿。 |
方法
| 签名 | 描述 |
|---|---|
getHeight() → double | 返回该行的高度。 |
getMinimalHeight() → double | 返回行的最小高度。 |
setMinimalHeight(value: double) | 设置行的最小高度。 |
getRowFormat() → IRowFormat | 返回包含此行格式属性的 RowFormat 对象。 |
getAsICellCollection() → ICellCollection | 允许获取基础 ICellCollection 接口。 |
getAsIBulkTextFormattable() → IBulkTextFormattable | 允许获取基础 IBulkTextFormattable 接口。 |
get(index: int) → ICell | 获取指定索引处的单元格。 |
size() → int | 返回集合中单元格的数量。 |
asISlideComponent() → ISlideComponent | 返回基 {@link ISlideComponent} 接口。 |
asICollection() → List<ICell> | 返回集合为 {@link List}。 |
asIEnumerable() → Iterable<ICell> | 返回集合为 {@link Iterable}。 |
getSlide() → IBaseSlide | 返回父幻灯片。 |
asIPresentationComponent() → IPresentationComponent | 返回基础 {@link IPresentationComponent} 接口。 |
getPresentation() → IPresentation | 返回包含此组件的演示文稿。 |
setTextFormat(source: Object) | 为所有子文本元素设置文本格式。 |