private static void GeneratePageSetup(XlWorksheet ws) { ws.SetPageOrientationLandscape(); ws.SetPagePaperSizeA4(); ws.SetPageFitTo(width: 1); }