---
title: "TableElement"
url: "https://reference.aspose.com/pdf/python-net/aspose.pdf.logicalstructure/tableelement/"
product: "Aspose.PDF for Python via .NET API Reference"
description: "Represents Table structure element in logical structure."
---


## TableElement class

Represents Table structure element in logical structure.

The TableElement type exposes the following members:
## Properties
| Name | Description |
| :- | :- |
|parent_element|None|
|child_elements|None|
|default_attribute_owner|Gets|
|attributes|Gets|
|structure_type|Gets type of structure element.|
|id|Gets the ID for structure element.|
|title|Gets or sets the title for structure element.|
|language|Gets or sets the language for structure element.|
|alternative_text|Gets or sets the alternative text for structure element.|
|expansion_text|Gets or sets the expansion text for structure element.|
|actual_text|Gets or sets the actual text for structure element.|
|background_color|Gets or sets the table background color.|
|border|Gets or sets the table border.|
|alignment|Gets or sets the table alignment.|
|corner_style|Gets or sets the styles of the border corners|
|broken|Gets or sets table vertial broken;|
|column_adjustment|Gets or sets the table column adjustment.|
|column_widths|Gets the column widths of the table.|
|default_cell_border|Gets default cell border.|
|default_cell_padding|Gets or sets the default cell padding.|
|default_cell_text_state|Gets or sets the default cell text state.|
|default_column_width|Gets or sets default column width.|
|is_broken|Gets or sets the table is broken - will be truncated for next page.|
|is_borders_included|Gets or sets border included in column widhts.|
|left|Gets or sets the table left coordinate.|
|top|Gets or sets the table top coordinate.|
|repeating_columns_count|Gets or sets the maximum columns count for table.|
|repeating_rows_count|Gets the first rows count repeated for several pages.|
|repeating_rows_style|Gets the style for repeating rows.|
## Methods
| Name | Description |
| :- | :- |
|append_child(element)|None|
|change_parent_element(new_parent_element)|Change parent element for current structure element|
|generate_id()|Generate ID for structure element.|
|set_id(id)|Sets ID for structure element.|
|clear_id()|Clear ID for structure element.|
|set_tag(new_tag)|Sets custom tag for structure element.|
|create_t_head()|Creates [TableTHeadElement](/pdf/python-net/aspose.pdf.logicalstructure/tabletheadelement/) and added it to current table.|
|create_t_body()|Creates [TableTHeadElement](/pdf/python-net/aspose.pdf.logicalstructure/tabletheadelement/) and added it to current table.|
|create_t_foot()|Creates [TableTFootElement](/pdf/python-net/aspose.pdf.logicalstructure/tabletfootelement/) and added it to current table.|

### See Also

* namespace [aspose.pdf.logicalstructure](/pdf/python-net/aspose.pdf.logicalstructure/)
* assembly [Aspose.PDF](/pdf/python-net/)

