insert_table method
insert_table
Creates a new table and inserts it into the shape collection at the specified index.
Returns
The newly created ITable
.
def insert_table(self, index, x, y, column_widths, row_heights):
...
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index at which to insert the table. |
x | float | The x-coordinate of the table, in points. |
y | float | The y-coordinate of the table, in points. |
column_widths | List[float] | An array of doubles representing the widths of the table’s columns, in points. |
row_heights | List[float] | An array of doubles representing the heights of the table’s rows, in points. |
See Also
- class
IShapeCollection
- class
ITable
- module
aspose.slides
- library
Aspose.Slides