GetCellsCount

GetCellsCount

返回当前行数单元格

参数:

这种方法没有任何参数

返回时间 :

类型
数组

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.Getpresentationvaro表 = Api.Criate表2 4varoRow=otable.getRow0varnCellsCount=ORow.GetCellsCountVaroCellsvarocontent=oCell.etcontentvarodeptes=api.Createleoclits.adText (CellsCount)oContent.Push(oParagraph)!varoSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!oSlide.AddObject(oTable)!builder.SaveFile("pptx", "GetCellsCount.pptx")!builder.CloseFile();

结果文档