Cells
概述
Cells 是一个类在Aspose.PDF FOSS的.NET中. 继承人: IEnumerable<Cell>.
一排的细胞集合.
本类提供了在.NET 程序中使用Cells对象的12种方法. 有的方法包括: Add, At, Dispose, GetEnumerator, Insert, Remove, RemoveRange. 所有公众成员在安装了Aspose.PDF FOSS for .NET 包后,可以访问任何.NET应用程序. 特性: Count.
属性
| 名称: | 类型 | Access | 描述情况 |
|---|---|---|---|
Count | int | 阅读 | 细胞数量. |
方法
| Signature | 描述情况 |
|---|---|
Add() | 添加一个新的空单元格并返回它. |
Add(text: string) | 添加一个包含指定文本内容的单元格. |
Add(text: string, ts: Text.TextState) | 添加一个包含指定文本内容和预先应用的文档状态的单元格. |
Add(textFragment: Text.TextFragment) | 添加一个包含 TextFragment 的单元格. |
Add(cell: Cell) | 添加一个现有单元格. |
Insert(index: int, cell: Cell) | 在给定零基索引处插入单元格. |
Remove(cell: Cell) | 如果存在,请移除细胞. |
Remove(obj: object) | 如果存在细胞,请删除Obj. |
RemoveRange(index: int, count: int) | 删除从索引开始的计数单元. |
Dispose() | 释放每个细胞的资源. |
At(index: int) | 按索引取一个手机. |
GetEnumerator() | 在这个Cells实例中调用GetEnumerator. |