返回当前行索引
这种方法没有任何参数
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvar表Style=ODocument.CreateStyleoTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"))!varo表=api.Criate表(3,3)oTable.SetStyle(oTableStyle)!oTable.SetWidth("percent", 100)!Var ORow oTable. GetRowoRow.GetCell(0).GetContent().GetElement(0).AddText("Row index: " + oRow.GetIndex())!oDocument.Push(oTable)!builder.SaveFile("docx", "GetIndex.docx")!builder.CloseFile();