SpreadsheetContent
Leave feedback
On this page
Represents an Excel document where a watermark can be placed.
public class SpreadsheetContent : Content
| Name | Description |
|---|---|
| Worksheets { get; } | Gets the collection of all worksheets of this SpreadsheetContent. |
| Name | Description |
|---|---|
| Decrypt() | Decrypts the document. |
| Dispose() | Disposes the current instance. |
| Encrypt(string) | Encrypts the content. |
| FindImages() | Finds all images in the content. The search is conducted in the objects specified in SearchableObjects. |
| FindImages(ImageSearchCriteria) | Finds images according to the specified search criteria. The search is conducted in the objects specified in SearchableObjects. |
| Search() | Finds all possible watermarks in the content. The search is conducted in the objects specified in SearchableObjects. |
| Search(SearchCriteria) | Finds possible watermarks according to specified search criteria. The search is conducted in the objects specified in SearchableObjects. |
Learn more:
- Add watermarks to spreadsheet documents
- Shapes in spreadsheet document
- Working with spreadsheet document attachments
- Working with worksheet backgrounds
- Working with worksheet headers and footers
Load and save Excel document of any supported type.
SpreadsheetLoadOptions loadOptions = new SpreadsheetLoadOptions();
using (Watermarker watermarker = new Watermarker(@"D:\input.xls", loadOptions))
{
// Use Add method to add watermark to a particular or all worksheets.
// Save changes.
watermarker.Save(@"D:\output.xls");
}
- class Content
- namespace GroupDocs.Watermark.Contents.Spreadsheet
- assembly GroupDocs.Watermark
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.