add WrapText
This commit is contained in:
@@ -137,7 +137,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Column(21).Width = 10;
|
||||
ws.Column(22).Width = 10;
|
||||
ws.Column(23).Width = 10;
|
||||
ws.Columns().AdjustToContents();
|
||||
ws.Range(ws.Cell(1, 1), ws.Cell(1, 30)).Style.Alignment.WrapText = true;
|
||||
ws.Column(1).Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Column(1).Style.Font.FontSize = 16;
|
||||
ws.Column(2).Style.Font.FontName = "TH Sarabun New";
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Column(21).Width = 10;
|
||||
ws.Column(22).Width = 10;
|
||||
ws.Column(23).Width = 10;
|
||||
ws.Columns().AdjustToContents();
|
||||
ws.Range(ws.Cell(1, 1), ws.Cell(1, 30)).Style.Alignment.WrapText = true;
|
||||
ws.Column(1).Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Column(1).Style.Font.FontSize = 16;
|
||||
ws.Column(2).Style.Font.FontName = "TH Sarabun New";
|
||||
|
||||
Reference in New Issue
Block a user