C#操作Word表格的常见操作
nment.wdCellAlignVerticalCenter; //C#操作Word表格操作之选中单元格文字垂直居中 oDoc.Tables.Add(tableLocation, 3, 4, ref oMissing, ref oMissing); Word.Table newTable = oDoc.Tables[1]; object beforeRow = newTable.Rows[1]; newTable.Rows.Add(ref beforeRow); Word.Cell cell = newTable.Cell(1, 1); cell.Merge(newT