InsertTable

ShapeCollection.InsertTable method

Creates a new table and inserts it into the shape collection at the specified index.

public ITable InsertTable(int index, float x, float y, double[] columnWidths, double[] rowHeights)
ParameterTypeDescription
indexInt32The zero-based index at which to insert the table.
xSingleThe x-coordinate of the table, in points.
ySingleThe y-coordinate of the table, in points.
columnWidthsDouble[]An array of doubles representing the widths of the table’s columns, in points.
rowHeightsDouble[]An array of doubles representing the heights of the table’s rows, in points.

Return Value

The newly created ITable.

See Also