Bug Fixed
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
kamonwan taengsuk
2024-02-07 10:55:52 +07:00
parent 11d4269f2a
commit 33f5fe5c2c
10 changed files with 5 additions and 5 deletions

View File

@@ -759,7 +759,7 @@ namespace rmutr_report.Controllers
foreach (var i in data1.agencys)
{
ws.Cell(row, col2).Value = i.value;
ws.Cell(row, col2).Style.Alignment.SetTextRotation(90);
//ws.Cell(row, col2).Style.Alignment.SetTextRotation(90);
ws.Cell(row, col2).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
ws.Cell(row, col2).Style.Border.RightBorder = XLBorderStyleValues.Thin;
ws.Cell(row,col2).Style.Font.FontName = "TH SarabunPSK";
@@ -769,7 +769,7 @@ namespace rmutr_report.Controllers
}
ws.Range(ws.Cell(row, 1),ws.Cell(row,27)).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
ws.Range(ws.Cell(row, 1),ws.Cell(row,27)).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
ws.Range(ws.Cell(row,8),ws.Cell(row,27)).Style.Alignment.SetTextRotation(90);
//ws.Range(ws.Cell(row,8),ws.Cell(row,27)).Style.Alignment.SetTextRotation(90);
ws.Range(ws.Cell(row,8),ws.Cell(row,27)).Style.Alignment.WrapText = true;
ws.Cell(row, 1).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;