Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

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 existing objects of all these types.

Removing Watermark from a Particular Worksheet

...

HTML
<script src="https://gist.github.com/GroupDocsGists/95fbe192d18fe235f626709146a924c1.js"></script>

Removing SmartArt and CustomXml

Since version 18.8, you can also find and remove SmartArt and CustomXml shape types from document worksheet using the following code sample.

HTML
<script src="https://gist.github.com/GroupDocsGists/49d043e5cbd003c954aa3870f0ea3ad1.js?file=Documents-RemoveSmartArtAndCustomXmlShapes_18.8.cs"></script>