bug fixed

This commit is contained in:
kamonwan taengsuk
2023-02-19 13:13:08 +07:00
parent 6b10902a30
commit c9d548b642
2 changed files with 3 additions and 0 deletions

View File

@@ -170,6 +170,7 @@ namespace rmutr_report.Controllers
ws.Cell(rowhead, col).Style.Border.RightBorder = XLBorderStyleValues.Thin;
ws.Cell(rowhead,col).Style.Font.FontName = "TH Sarabun New";
ws.Cell(rowhead,col).Style.Font.FontSize = 16;
ws.Cell(rowhead,col).Style.Alignment.WrapText = true;
col++;
var a = _kpi.agencys.Count;
@@ -748,6 +749,7 @@ namespace rmutr_report.Controllers
ws.Range(ws.Cell(row, 1),ws.Cell(row,26)).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row, 1),ws.Cell(row,26)).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row,8),ws.Cell(row,26)).Style.Alignment.SetTextRotation(90);
ws.Range(ws.Cell(row,8),ws.Cell(row,26)).Style.Alignment.WrapText = true;
ws.Cell(row, 1).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
ws.Cell(row, 1).Style.Border.LeftBorder = XLBorderStyleValues.Thin;

View File

@@ -182,6 +182,7 @@ namespace rmutr_report.Controllers
ws.Cell(rowhead, col).Style.Border.RightBorder = XLBorderStyleValues.Thin;
ws.Cell(rowhead,col).Style.Font.FontName = "TH Sarabun New";
ws.Cell(rowhead,col).Style.Font.FontSize = 16;
ws.Cell(rowhead,col).Style.Alignment.WrapText = true;
col++;
var a = _kpi.agencys.Count;