Free Support Forum - aspose.com

Aspose.Cells.dll v8.7.0.0 - Watermark Issue converted Pdf

Hi,

We are using Aspose.Cells.dll, v8.7.0.0 for converting excel from pdf using PdfSaveOptions.
a) In our excel we are creating watermark using Aspose.Cells.Drawing.Shape wordart, While converted to PDF the watermark is not populating properly(populate as normal text with bold letter overwriting existing data).
b) Similarly excel having below code of watermark in excel using PdfSaveOptions.Not having watermark image in converted pdf.
FileStream fs = File.OpenRead(@"\Draft.png");
byte[] imageData = new byte[fs.Length];
fs.Read(imageData, 0, imageData.Length);
workbook.Worksheets[0].SetBackground(imageData);

Please assist how to have watermark in excel and PdfSaveOptions.

@gopinathn,

Please try our latest version/fix: Aspose.Cells for .NET v18.8.x

  1. Word art shapes are supported when rendering Excel to PDF conversion in newer versions. If you still find any issue with v18.8.x, kindly do provide your template file. sample code (runnable) and output file(s), we will check it soon.

  2. If you are setting background image in Ms Excel, this won’t be rendered in the output PDF. For confirmation, you may take the print preview of the sheet and you will see the background image is not visible. Even if you save the Excel file to PDF via Ms Excel renderer, the background image won’t be rendered too. So, this is not an issue with Aspose.Cells.