插入表格
ShapeCollection.InsertTable 方法
创建一个新的表格并将其插入到指定索引的集合中。
public ITable InsertTable(int index, float x, float y, double[] columnWidths, double[] rowHeights)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 要插入值的零基础索引。 |
x | Single | 图形框架左侧的 X 坐标。 |
y | Single | 图形框架顶部的 Y 坐标。 |
columnWidths | Double[] | 表格中列宽的双精度数组。 |
rowHeights | Double[] | 表格中行高的双精度数组。 |
返回值
创建的表格对象。
参见
- 接口 ITable
- 类 ShapeCollection
- 命名空间 Aspose.Slides
- 程序集 Aspose.Slides