插入表格

ShapeCollection.InsertTable 方法

创建一个新的表格并将其插入到指定索引的集合中。

public ITable InsertTable(int index, float x, float y, double[] columnWidths, double[] rowHeights)
参数类型描述
indexInt32要插入值的零基础索引。
xSingle图形框架左侧的 X 坐标。
ySingle图形框架顶部的 Y 坐标。
columnWidthsDouble[]表格中列宽的双精度数组。
rowHeightsDouble[]表格中行高的双精度数组。

返回值

创建的表格对象。

参见