Cell
概述
Cell 是 Aspose.Slides FOSS 中用于 .NET 的类。继承自:ISlideComponent,ICell。
表示 PowerPoint 演示文稿中表格的单个单元格。
属性:AnchorCenter、AsIPresentationComponent、AsISlideComponent、CellFormat、ColSpan、FirstColumn,以及另外 20 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
OffsetX | float | 读取 | 获取偏移量 x。 |
OffsetY | float | 读取 | 获取偏移量 y。 |
FirstRowIndex | int | 读取 | 获取第一行索引。 |
FirstColumnIndex | int | 读取 | 获取第一列索引。 |
Width | float | 读取 | 获取宽度。 |
Height | float | 读取 | 获取高度。 |
MinimalHeight | float | 读取 | 获取最小高度。 |
MarginLeft | float | 读写 | 获取或设置左边距。 |
MarginRight | float | 读写 | 获取或设置右边距。 |
MarginTop | float | 读写 | 获取或设置上边距。 |
MarginBottom | float | 读写 | 获取或设置底部边距。 |
TextVerticalType | TextVerticalType | 读写 | 获取或设置文本的垂直类型。 |
TextAnchorType | TextAnchorType | 读写 | 获取或设置文本锚点类型。 |
AnchorCenter | bool | 读写 | 获取或设置锚点中心。 |
FirstRow | IRow | 读取 | 获取第一行。 |
FirstColumn | IColumn | 读取 | 获取第一列。 |
ColSpan | int | 读取 | 获取 col span。 |
RowSpan | int | 读取 | 获取行跨度。 |
TextFrame | ITextFrame? | 读取 | 获取文本框。 |
Table | ITable | 读取 | 获取表格。 |
IsMergedCell | bool | 读取 | 获取该单元格是否为合并单元格。 |
CellFormat | ICellFormat | 读取 | 获取单元格的格式。 |
Slide | IBaseSlide? | 读取 | 获取幻灯片。 |
Presentation | IPresentation? | 读取 | 获取呈现。 |
AsIPresentationComponent | IPresentationComponent | 读取 | 获取 as i 演示组件。 |
AsISlideComponent | ISlideComponent | 读取 | 返回此实例作为一个 ISlideComponent。 |