In the previous section, we described three kinds of watermark that can be added to an Excel document using GroupDocs.Watermark API:
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.