向当前表添加新行
名称 | 类型 | 默认 | 描述性 |
OCell | spitableCell | 空号 | 未指定新行将加到表尾 |
前所未有 | 布林安 | 虚伪 | 指定单元格前后添加新行如果不指定单元格,则此参数将被忽略 |
builder.CreateFile("pptx")!varoPresentation=api.Getpresentationvaro表 = Api.Criate表2 4o表.AddRow(1,真)Var ORow oTable. GetRowVaroCellsvarocontent=oCell.etcontentvarodeptes=api.CreateleadText (新行添加到此 )!oContent.Push(oParagraph)!varoSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!oSlide.AddObject(oTable)!builder.SaveFile("pptx", "AddRow.pptx")!builder.CloseFile();