Hi,
I want to change the sheet orientation to landscape and I have set it as follow. But it does not change.
Regards,
Alex
I want to change the sheet orientation to landscape and I have set it as follow. But it does not change.
Regards,
Alex
IWorkbook wb = new XSSFWorkbook(stream);
ISheet sheet = wb.CreateSheet("Sitrep");
sheet.PrintSetup.Landscape = true;
sheet.PrintSetup.PaperSize = 9;
sheet.PrintSetup.Landscape = true;
sheet.PrintSetup.FitHeight = 0;
sheet.PrintSetup.FitWidth = 1;
sheet.PrintSetup.Scale = 100;