SimpleExcelWriterAddMerge(Int32, Int32, Boolean) 方法

合并某一行从第 1 列到第 colCount 列(等价于 AddMerge(MergeFullRow(row, colCount)))。 horizontalCenter 为 true 时该行水平居中(无边框)。

Definition

命名空间: Suresking.Utility
程序集: Suresking.Utility (在 Suresking.Utility.dll 中) 版本:1.3.22+a27276bb8ffde055e69ff608e98aafba279e1e99
C#
public void AddMerge(
	int row,
	int colCount,
	bool horizontalCenter = false
)

参数

row  Int32
行号(1 起)。
colCount  Int32
合并到第几列(1 起),即合并 A 列到第 colCount 列。
horizontalCenter  Boolean  (Optional)
为 true 时该行水平居中(同时会因样式 2 而失去边框)。

参见