Table
Overview
Table is a class in Aspose.Slides FOSS for Python.
Inherits from: GraphicalObject, ITable.
Represents a table on a slide.
This class provides 2 methods for working with Table objects in Python programs.
Available methods include: merge_cells, set_text_format.
All exported members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: as_i_bulk_text_formattable, as_i_graphical_object, columns, first_col, first_row, graphical_object_lock, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
graphical_object_lock | IGraphicalObjectLock | Read | Gets the graphical object lock. |
rows | IRowCollection | Read | Returns the collectoin of rows. |
columns | IColumnCollection | Read | Returns the collectoin of columns. |
table_format | ITableFormat | Read | Returns the TableFormat object that contains formatting properties for this table. |
style_preset | TableStylePreset | Read | Gets or sets builtin table style. |
right_to_left | bool | Read | Determines whether the table has right to left reading order. |
first_row | bool | Read | Determines whether the first row of a table has to be drawn with a special formatting. |
first_col | bool | Read | Determines whether the first column of a table has to be drawn with a special formatting. |
last_row | bool | Read | Determines whether the last row of a table has to be drawn with a special formatting. |
last_col | bool | Read | Determines whether the last column of a table has to be drawn with a special formatting. |
horizontal_banding | bool | Read | Determines whether the even rows has to be drawn with a different formatting. |
vertical_banding | bool | Read | Determines whether the even columns has to be drawn with a different formatting. |
as_i_graphical_object | IGraphicalObject | Read | Gets the as i graphical object. |
as_i_bulk_text_formattable | IBulkTextFormattable | Read | Gets the as i bulk text formattable. |
Methods
| Signature | Description |
|---|---|
set_text_format() | Applies the current text formatting to all cells in the table |
merge_cells(cell1, cell2, allow_splitting) → ICell | Merges the range from cell1 to cell2 into a single cell; allow_splitting controls split behavior |