We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Watermark in Excel

Hi,

How to have watermark (image or text at the backgroud) in Aspose.Excel

thanks,

moorthi.

Hi,

We will support this feature soon.

Thank you.

Hi,

Please try the attached fix.See following codes:

Workbook workbook = new Workbook();
FileStream fs = File.OpenRead(@"F:\\FileTemp\\chart.bmp");
byte[] imageData = new byte[fs.Length];
fs.Read(imageData, 0, imageData.Length);

workbook.Worksheets[0].SetBackground(imageData);
workbook.Save(@"F:\FileTemp\dest.xls");

Note:

Aspose.Excel has renamed as Aspose.Cells. Some classes have been renamed too.

Excel -----> Workbook

ExcelDesigner ------>WorkbookDesigner

ExcelException ------> CellsException