2019年8月16日

C#设置Excel行高、列宽

摘要: 设置固定值 worksheet.Columns[1].ColumnWidth = 15; 设置自动换行 worksheet.Columns.WrapText = true; 设置自动行高、列宽 xlApp.Columns.AutoFit(); xlApp.Rows.AutoFit(); 对齐方式 w 阅读全文

posted @ 2019-08-16 22:36 mol1995 阅读(9314) 评论(0) 推荐(0) 编辑

导航