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

NameTypeAccessDescription
graphical_object_lockIGraphicalObjectLockReadGets the graphical object lock.
rowsIRowCollectionReadReturns the collectoin of rows.
columnsIColumnCollectionReadReturns the collectoin of columns.
table_formatITableFormatReadReturns the TableFormat object that contains formatting properties for this table.
style_presetTableStylePresetReadGets or sets builtin table style.
right_to_leftboolReadDetermines whether the table has right to left reading order.
first_rowboolReadDetermines whether the first row of a table has to be drawn with a special formatting.
first_colboolReadDetermines whether the first column of a table has to be drawn with a special formatting.
last_rowboolReadDetermines whether the last row of a table has to be drawn with a special formatting.
last_colboolReadDetermines whether the last column of a table has to be drawn with a special formatting.
horizontal_bandingboolReadDetermines whether the even rows has to be drawn with a different formatting.
vertical_bandingboolReadDetermines whether the even columns has to be drawn with a different formatting.
as_i_graphical_objectIGraphicalObjectReadGets the as i graphical object.
as_i_bulk_text_formattableIBulkTextFormattableReadGets the as i bulk text formattable.

Methods

SignatureDescription
set_text_format()Applies the current text formatting to all cells in the table
merge_cells(cell1, cell2, allow_splitting)ICellMerges the range from cell1 to cell2 into a single cell; allow_splitting controls split behavior

See Also