Hello team,
I have conveted PQ2274.xlsx to PDF with Aspose.Cells 17.7. I got PQ2274.xlsx.pdf but image in the pdf became black.
PQ2274.zip (191.7 KB)
PQ2274.xlsx.pdf (9 KB)
This is my code.
private MemoryStream ConvertExcelToPdf()
{
MemoryStream pdfStream = new MemoryStream();
// Instantiate the License class
Aspose.Cells.License license = new Aspose.Cells.License();
license.SetLicense("Aspose.Total.lic");
// Convert .xls and .xlsx file to PDF.
Workbook book = new Workbook(this._stream);
book.Save(pdfStream, Aspose.Cells.SaveFormat.Pdf);
return pdfStream;
}
Thank you,
PFU DSOL2