Table¶
Represents a table. Add rows with TableRowCollection.Add and cells with TableCellCollection.Add.
Capabilities¶
Properties¶
- Table.Content: Gets the content range of the element, for example to replace text only inside this element.
- Table.ElementType: Gets the element type name, such as
'Paragraph','Run'or'Table'.
Tables¶
- Table.Rows: Gets the table rows.
Methods¶
- Table.Clone: Creates a copy of the element. The copy is not part of the document until it is added to a collection with the collection's
Appendmethod, such as BlockCollection.Append. - Table.GetChildElements: Returns the child elements.
- Table.GetParentElements: Returns the ancestors of the element, starting from the direct parent.