删除Column

删除Column(oCell)+++

删除表列指定单元格

参数:

名称 类型 描述性
OCell spitableCell

表格单元格列删除

返回时间 :

类型
布林安

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.Getpresentationvaro表 = Api.Criate表2 4varoRow=otable.getRow0VaroCell/ORow/GETCelloTable.RemoveColumn(oCell)!OCell=ORow.GETCell0varocontent=oCell.etcontentvarodeptes=api.CreateleodText (二列删除)oContent.Push(oParagraph)!varoSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!oSlide.AddObject(oTable)!builder.SaveFile("pptx", "RemoveColumn.pptx")!builder.CloseFile();

结果文档