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

属性

名称类型访问描述
heightdouble读取返回行的高度。
minimalHeightdouble读取返回行的最小高度。
rowFormatIRowFormat读取返回包含此行格式属性的 RowFormat 对象。
asICellCollectionICellCollection读取允许获取基础的 ICellCollection 接口。
asIBulkTextFormattableIBulkTextFormattable读取允许获取基础的 IBulkTextFormattable 接口。
slideIBaseSlide读取返回父幻灯片。
presentationIPresentation读取返回包含此组件的演示文稿。

方法

签名描述
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)为所有子文本元素设置文本格式。

另请参阅

 中文