InsertTable

IShapeCollection.InsertTable 方法

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

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

返回值

创建的表对象。

另请参见