删除Row

删除Row(oCell)+++

删除表列指定单元格

参数:

名称 类型 描述性
OCell spitableCell

表格单元格从行删除

返回时间 :

类型
布林安

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.Getpresentationvaro表 = Api.Criate表2 4varoRow=otable.getRow0VaroCellsoTable.RemoveRow(oCell)!ORow=OTable.GetRow0OCell=ORow.GETCell0varocontent=oCell.etcontentvarodeptes=api.CreateleodText ('第一行删除')oContent.Push(oParagraph)!varoSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!oSlide.AddObject(oTable)!builder.SaveFile("pptx", "RemoveRow.pptx")!builder.CloseFile();

结果文档