拆分单元格数行列
名称 | 类型 | 默认 | 描述性 |
nRow系统 | 数目 | 一号 | 计数单元格分行 |
NCol | 数目 | 一号 | 计列分解 |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvar表Style=ODocument.CreateStyleoTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"))!varo表=api.Criate表(3,3)oTable.SetWidth("percent", 100)!oTable.SetStyle(oTableStyle)!oDocument.Push(oTable)!varoCell =otable.GetCell(0,0)OCell.Split2builder.SaveFile("docx", "Split.docx")!builder.CloseFile();