// For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
using (CellsDocument doc = Document.Load<CellsDocument>(Utilities.MapSourceFilePath (FilePath)))
{
foreach (CellsWorksheet worksheet in doc.Worksheets)
{
if (worksheet.BackgroundImage != null)
{
Console.WriteLine(worksheet.BackgroundImage.Width);
Console.WriteLine(worksheet.BackgroundImage.Height);
Console.WriteLine(worksheet.BackgroundImage.GetBytes().Length);
}
}
}