获取ParentRow

获取ParentRowspitableRow......

返回当前单元格父行

参数:

这种方法没有任何参数

返回时间 :

类型
spitableRow空区

实例

拷贝代码
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)!oTable.GetCell(0, 0).GetContent().GetElement(0).AddText("Cell 1")!var oParentRow =otable.GetCell0.0.GetParentRowoParentRow.SetHeight("atLeast", 720)!builder.SaveFile("docx", "GetParentRow.docx")!builder.CloseFile();

结果文档