Column
Column class
表示表中的一列。
public sealed class Column : CellCollection, IColumn
Properties
Name | Description |
---|---|
ColumnFormat { get; } | 返回包含该列格式属性的 ColumnFormat 对象。只读 IColumnFormat 。 |
Count { get; } | 返回集合中单元格的数量。只读 Int32。 |
IsSynchronized { get; } | 返回一个值,指示对集合的访问是否是同步的(线程安全)。只读 Boolean。 |
Item { get; } | 根据位置返回单元格。只读 Cell 。 |
Presentation { get; } | 返回 CellCollection 的父演示文稿。只读 IPresentation 。 |
Slide { get; } | 返回 CellCollection 的父幻灯片。只读 IBaseSlide 。 |
SyncRoot { get; } | 返回同步根。只读 Object。 |
Width { get; set; } | 返回或设置列的宽度。读写 Double。 |
Methods
Name | Description |
---|---|
CopyTo(Array, int) | 将集合中的所有元素复制到指定的数组中。 |
GetEnumerator() | 返回一个枚举器,该枚举器遍历集合。 |
SetTextFormat(IParagraphFormat) | 将定义的段落格式属性设置为所有列单元格的段落。 |
SetTextFormat(IPortionFormat) | 将定义的部分格式属性设置为所有列单元格的部分。 |
SetTextFormat(ITextFrameFormat) | 将定义的文本框格式属性设置为所有列单元格的文本框。 |
See Also
- class CellCollection
- interface IColumn
- namespace Aspose.Slides
- assembly Aspose.Slides