spitableRow

新建Api表Row

类表示表列

方法论

名称 描述性
GetCell系统

依当前行中位置返回单元格

GetCellsCount

返回当前行数单元格

GetClassType系统

返回Api表Row类类型

塞特海尔

设置当前表列高度

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.Getpresentationvaro表 = Api.Criate表2 4varoRow=otable.getRow0ORow.SetHeight(30*3600)varosCount=ORow.GETCellsCountVaroCellsvarocontent=oCell.etcontentvarodeptes=api.Createleoclits.adText (CellsCount+CellsCount)oContent.Push(oParagraph)!odeptes = Api.Createlementsvar slassType=Oow.GetClassTypeoclits.adText (Class类型:+slassType)oContent.Push(oParagraph)!varoSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!oSlide.AddObject(oTable)!builder.SaveFile("pptx", "ApiTableRow.pptx")!builder.CloseFile();

结果文档