Skip to end of metadata
Go to start of metadata
Contents Summary

The code samples in this article use some of the methods defined in Working with Common Utilities.

In the previous section, we described three kinds of watermark that can be added to an Excel document using GroupDocs.Watermark API:

  • Shapes
  • Backgrounds
  • Headers&Footers

Here we will focus on how to work with headers and footers.

Working with Headers&Footers

Extracting Information about all Headers&Footers in an Excel Document

You can extract information about all the headers&footers in an Excel document using the following code sample.

Clearing a Particular Header&Footer

GroupDocs.Watermark also enables you to clear a particular header&footer as shown in the following code sample.

Clearing a Particular Section of Header&Footer

Using GroupDocs.Watermark, you can also clear a particular section of header&footer as shown in the sample code below.

Adding Watermark to all Images in Header&Footer

GroupDocs.Watermark enables you to add watermark to images inside any header&footer. Following code sample shows how to add watermark to all images inside header/footer.

  • No labels