Hi,
I have successfully created and saved a XLSX file (first attachment). The same document should be provided as PDF from the Customer Area.
When I use Export, I can't see the charts (second attachment).
This is the code I have used:
<<
ExcelToPdfConverter converter = new ExcelToPdfConverter(workbook);
//ExcelToPdfConverter converter = new ExcelToPdfConverter(workbook.Worksheets[0]); //same thing if I export the single sheet...
ExcelToPdfConverterSettings cSettings = new ExcelToPdfConverterSettings();
cSettings.LayoutOptions = LayoutOptions.FitAllColumnsOnOnePage;
//Initialize PDF document
PdfDocument pdfDocument = new PdfDocument();
//Convert Excel document into PDF document
pdfDocument = converter.Convert(cSettings);
var pdfName = @"\" + guid.ToString() + ".pdf";
var fulldocname = saveDir + TEMP_REPOSITORY_FOLDER + pdfName;
pdfDocument.Save(fulldocname);
>>
Based on documentation, 2D and 3D charts should be exported.
What's the matter?
Thanks.
Claudio
Attachment:
Downloads_92875559.zip