向当前表添加新行
名称 | 类型 | 默认 | 描述性 |
NCount | 数目 | 数行添加 |
|
前所未有 | 布林安 | 虚伪 | 指定新行在当前单元格前后添加 |
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)!getCell/0/0GetContent/0/getCell(0,0/AddRows2,伪版)builder.SaveFile("docx", "AddRows.docx")!builder.CloseFile();