C#通过openxml操作word,生成表格怎么合并行,合并列,还有一些表格背景色,单元格大小怎么设置?
GridSpan gridSpan1 = new GridSpan() { Val = 2};//合并两列
VerticalMerge verticalMerge1 = new VerticalMerge(){ Val = MergedCellValues.Restart };//开始合并行
VerticalMerge verticalMerge1 = new VerticalMerge();//结束合并行
怎么解决的呢?