Class OdfTextTableCollection
Adds text tables to text documents. 提供表格新增入口。
public sealed class OdfTextTableCollection : IEnumerable<OdfTextTableInfo>, IEnumerable
- Inheritance
-
OdfTextTableCollection
- Implements
- Inherited Members
Constructors
OdfTextTableCollection(TextDocument)
Initializes a new instance of the OdfTextTableCollection class. 初始化 OdfTextTableCollection 類別的新執行個體。
public OdfTextTableCollection(TextDocument document)
Parameters
documentTextDocumentThe owning text document. / 所屬文字文件。
Properties
Items
Gets a summary list of the top-level text tables in the document body. 取得文件本文最上層文字表格摘要清單。
public IReadOnlyList<OdfTextTableInfo> Items { get; }
Property Value
Methods
Add(int, int)
Adds a text table to the collection. 新增表格。
public OdfTable Add(int rows, int columns)
Parameters
Returns
- OdfTable
The newly added table. / 新增完成的表格。
GetEnumerator()
Gets an enumerator over the text table summaries, for use with LINQ queries. 取得文字表格摘要列舉器,供 LINQ 查詢使用。
public IEnumerator<OdfTextTableInfo> GetEnumerator()
Returns
- IEnumerator<OdfTextTableInfo>
The text table summary enumerator. / 文字表格摘要列舉器。