向当前表端添加新列
名称 | 类型 | 默认 | 描述性 |
OCell | spitableCell | 空号 | 如果未指定,表尾将添加新列 |
前所未有 | 布林安 | 虚伪 | 指定单元格前后添加新列如果不指定单元格,则此参数将被忽略 |
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationsetSizes(300*36000,190*3600)varo表 = Api.Criate表2 4setPostition0*36000 60*3600o表.acolumnivaroRow=otable.getRow0VaroCell/ORow/GETCellvarocontent=oCell.etcontentvarodeptes=api.CreateleadText (新列添加到此 )!oContent.Push(oParagraph)!varoSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!oSlide.AddObject(oTable)!builder.SaveFile("pptx", "AddColumn.pptx")!builder.CloseFile();