GroupDocsGists
10/19/2017 - 11:04 AM

AddWatermarkAsBackgroundToExcel.cs

// For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
using (CellsDocument doc = Document.Load<CellsDocument>(@"D:\test.xlsx"))
{
    using (ImageWatermark watermark = new ImageWatermark(@"D:\logo.gif"))
    {
        doc.AddWatermarkAsBackground(watermark);
    }
    doc.Save();
}