may question is i have worksheet that containing ten columns the problem is when i convert the worksheet to pdf file i only get eight columns the other are gone, so how to shrink the worksheet content to fit the pdf width i tried Workbook.Convertingsettings.Sheetfittopage but all i get is fitting the content to one page i want the content to fit the pdf width so all columns will appear in the same line here is what i did
- Code: Select all
workbook = new Workbook();
workbook.LoadFromFile(ExcelPath);
worksheet = workbook.Worksheets[SheetName];
workbook.ConverterSetting.SheetfitTopage = true;
worksheet.SaveToPdf(destinationPath);