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

属性

名称类型访问描述
Widthfloat读写获取或设置列的宽度(单位为点)。
ColumnFormatIColumnFormat读取获取此列的格式属性。
AsICellCollectionICellCollection读取获取此列作为 ICellCollection。
AsIBulkTextFormattableIBulkTextFormattable读取获取此列作为 IBulkTextFormattable。
SlideIBaseSlide?读取获取幻灯片。
PresentationIPresentation?读取获取表示。
AsISlideComponentISlideComponent读取获取 as i slide 组件。
AsIPresentationComponentIPresentationComponent读取获取 as i 呈现组件。
AsICollectionIList<ICell>读取获取 as i 集合。
AsIEnumerableIEnumerable<ICell>读取获取 as i 可枚举。
Countint读取获取计数。

方法

签名描述
SetTextFormat(source: IBasePortionFormat)设置文本格式值。
SetTextFormat(source: IParagraphFormat)设置文本格式值。
SetTextFormat(source: ITextFrameFormat)设置文本格式值。
GetEnumerator()在此 Column 实例上调用 GetEnumerator。

另请参阅

 中文