获取Row

GetRow(nPos)++spitableRow......

依表位置返回表列

参数:

名称 类型 描述性
NPOs 数组

行位置表

返回时间 :

类型
spitableRow空区

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement02x2表并加新行var表Style=ODocument.CreateStyleoTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"))!varo表=api.Criate表2oTable.SetWidth("percent", 100)!oTable.SetStyle(oTableStyle)!oTable.AddRow(oTable.GetRow(1).GetCell(0), true)!oDocument.Push(oTable)!builder.SaveFile("docx", "GetRow.docx")!builder.CloseFile();

结果文档