insert_table method

insert_table

Creates a new Table and inserts it to the collection at the specified index.

Returns

Created Table object.

def insert_table(self, index, x, y, column_widths, row_heights):
    ...
ParameterTypeDescription
indexintThe zero-based index at which value should be inserted.
xfloatThe X-coordinate for a left side of shape’s frame.
yfloatThe Y-coordinate for a top side of shape’s frame.
column_widthsList[float]Array of doubles which represents widths of columns in the table.
row_heightsList[float]Array of doubles which represents heights of rows in the table.

See Also