...
Description |
---|
Excerpt |
---|
Represents a table in the Word document. |
Signature | ||||
---|---|---|---|---|
| ||||
[DefaultMember("Item")]
public sealed class Table : Element
{signature}{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
<DefaultMember("Item")> _
Public NotInheritable Class Table
Inherits Element
{signature}
{remarks}To create a new table, use [ |
Remarks |
---|
To create a new table, use Element.InsertTableBefore() |Element.InsertTableBefore]or [|Element. InsertTableAfter].To get an existing table, use [|Element.GetElements(Element.Type)]or [|Element.Children]and check which elements are of type [|Element.Type#Table]. The following sample demonstrates inserting a new table at the end of a document as well as finding the first table in a document. {remarks} {example}{code:csharp|title=C#}. The following sample demonstrates inserting a new table at the end of a document as well as finding the first table in a document. |
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Properties |
---|
Name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
| |||||||||
| |||||||||
| |||||||||
|
Indexers |
---|
Name | Description | ||||
---|---|---|---|---|---|
|
...
|
...
|
...
|
...
|
...
|
Methods |
---|
Name | Description |
---|---|
...
|
...
|
...
|
...
| |||
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
{excerpt-include:Table.DeleteColumns(Int32, |
...
...
...
|
...
|
...
|
...
|
...
|
...
...
|
...
|
...
|
...
...
|
...
|
...
|
...
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
|
...
|
...
|
...
...
|
...
|
...
|
...
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...