This commit is contained in:
@@ -54,15 +54,15 @@ namespace rmutr_report.Controllers
|
||||
ws.Column(3).Width = 20;
|
||||
ws.Column(4).Width = 30;
|
||||
ws.Column(5).Width = 30;
|
||||
ws.Column(1).Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Column(1).Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Column(1).Style.Font.FontSize = 16;
|
||||
ws.Column(2).Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Column(2).Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Column(2).Style.Font.FontSize = 16;
|
||||
ws.Column(3).Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Column(3).Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Column(3).Style.Font.FontSize = 16;
|
||||
ws.Column(4).Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Column(4).Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Column(4).Style.Font.FontSize = 16;
|
||||
ws.Column(5).Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Column(5).Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Column(5).Style.Font.FontSize = 16;
|
||||
int col = 1;
|
||||
int row = 3;
|
||||
@@ -110,7 +110,7 @@ namespace rmutr_report.Controllers
|
||||
ws.Cell(row, 5).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||
|
||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,5)).Style.Alignment.WrapText = true;
|
||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,5)).Style.Font.FontName = "TH Sarabun New";
|
||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,5)).Style.Font.FontName = "TH SarabunPSK";
|
||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,5)).Style.Font.FontSize = 16;
|
||||
row++;
|
||||
rowno++;
|
||||
|
||||
Reference in New Issue
Block a user