https://blog.csdn.net/jiali765/article/details/6159808
using System;
using System.Text;
using System.IO;
using NPOI.HSSF.UserModel;
using NPOI.HPSF;
using NPOI.POIFS.FileSystem;
using NPOI.HSSF.UserModel.Contrib;
using NPOI.SS.Util;
using NPOI.SS.UserModel;
namespace MergeCellsInXls
{
class Program
{
static void Main(string[] args)
{
InitializeWorkbook();
Sheet sheet = hssfworkbook.CreateSheet("new sheet");
Row row = sheet.CreateRow(0);
row.HeightInPoints = 30;
Cell cell = row.CreateCell(0);
//set the title of the sheet
cell.SetCellValue("