add_table method

add_table

Creates a new table and adds it to the end of the shape collection.

Returns

The newly created ITable.

def add_table(self, x, y, column_widths, row_heights):
    ...
ParameterTypeDescription
xfloatThe x-coordinate of the table, in points.
yfloatThe y-coordinate of the table, in points.
column_widthsList[float]An array of doubles representing the widths of the table’s

columns, in points.
row_heightsList[float]An array of doubles representing the heights of the table’s

rows, in points.

Examples

The following examples shows how to add table in PowerPoint Presentation.

See Also