IShapeCollectionInsertTable Method

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

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 22.1.0.0 (22.1)
Syntax
ITable InsertTable(
	int index,
	float x,
	float y,
	double[] columnWidths,
	double[] rowHeights
)

Parameters

index
Type: SystemInt32
The zero-based index at which value should be inserted.
x
Type: SystemSingle
The X-coordinate for a left side of shape's frame.
y
Type: SystemSingle
The Y-coordinate for a top side of shape's frame.
columnWidths
Type: SystemDouble
Array of doubles which represents widths of columns in the table.
rowHeights
Type: SystemDouble
Array of doubles which represents heights of rows in the table.

Return Value

Type: ITable
Created Table object.
See Also