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):
...
Parameter | Type | Description |
---|---|---|
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. |
Examples
The following examples shows how to add table in PowerPoint Presentation.
See Also
- class
ITable
- class
ShapeCollection
- module
aspose.slides
- library
Aspose.Slides