Free Support Forum -

Convert Excel file having watermark to PDF

Hi Team,

My requirement is to generate a pdf from excel file which is having watermark. This watermark in excel, i am creating using word art.

Please suggest me, how can I convert excel with diagonal watermark in to pdf so that in pdf I will get same watermark.

I am saving excel in pdf format by using SaveFormat.Pdf.

Thanks in Advance,



Thanks for your posting and using Aspose.Cells.

There are no extra or separate steps to convert the source file with watermark into pdf. You just need to convert it to pdf with regular steps. Please see the following code which converts source file into pdf.


//Instantiate the Workbook object
//Open an Excel file
Workbook workbook = new Workbook(“f:\test\Book1.xls”);

//Save the document in PDF format
workbook.Save(“f:\test\outBook1.pdf”, SaveFormat.Pdf);