Column
概述
Column 是 Aspose.Slides FOSS 中用于 .NET 的一个类。继承自:CellCollection,IColumn,IBulkTextFormattable。
将表格列表示为一组单元格(每行一个)。
此类提供 4 种方法,用于在 .NET 程序中处理 Column 对象。可用的方法包括:GetEnumerator,SetTextFormat。在安装了 Aspose.Slides FOSS for .NET 包之后,所有公共成员均可供任何 .NET 应用访问。属性有:AsIBulkTextFormattable,AsICellCollection,AsICollection,AsIEnumerable,AsIPresentationComponent,AsISlideComponent,以及另外 5 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Width | float | 读写 | 获取或设置列的宽度(单位为点)。 |
ColumnFormat | IColumnFormat | 读取 | 获取此列的格式属性。 |
AsICellCollection | ICellCollection | 读取 | 获取此列作为 ICellCollection。 |
AsIBulkTextFormattable | IBulkTextFormattable | 读取 | 获取此列作为 IBulkTextFormattable。 |
Slide | IBaseSlide? | 读取 | 获取幻灯片。 |
Presentation | IPresentation? | 读取 | 获取表示。 |
AsISlideComponent | ISlideComponent | 读取 | 获取 as i slide 组件。 |
AsIPresentationComponent | IPresentationComponent | 读取 | 获取 as i 呈现组件。 |
AsICollection | IList<ICell> | 读取 | 获取 as i 集合。 |
AsIEnumerable | IEnumerable<ICell> | 读取 | 获取 as i 可枚举。 |
Count | int | 读取 | 获取计数。 |
方法
| 签名 | 描述 |
|---|---|
SetTextFormat(source: IBasePortionFormat) | 设置文本格式值。 |
SetTextFormat(source: IParagraphFormat) | 设置文本格式值。 |
SetTextFormat(source: ITextFrameFormat) | 设置文本格式值。 |
GetEnumerator() | 在此 Column 实例上调用 GetEnumerator。 |