fpspreadsheet合并单元格、撤消单元格合并的方法
作者:互联网
fpspreadsheet合并单元格、撤消单元格合并的方法记录如下:
WorksheetGrid.MergeCells(1,1,3,2); //(列,行,列,行) WorksheetGrid.Cells[1,1]:='合并测试'; WorksheetGrid.HorAlignment[1,1] := haCenter; WorksheetGrid.VertAlignment[1,1] := vaCenter;
取消单元格合并:
WorksheetGrid.UnmergeCells(1,1);
标签:vaCenter,撤消,单元格,合并,WorksheetGrid,fpspreadsheet 来源: https://www.cnblogs.com/qiufeng2014/p/16619929.html