SpreadsheetLoadOptions class
Leave feedback
On this page
Represents document loading options for a Spreadsheet document.
The SpreadsheetLoadOptions type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the SpreadsheetLoadOptions class. |
| init | Initializes a new instance of the SpreadsheetLoadOptions class with a specified password. |
| Property | Description |
|---|---|
| file_type | The file type, indicating its format (e.g., docx, pdf, xlsx, etc.). (inherited from LoadOptions) |
| format_family | The format family of the document, indicating its type (e.g., Image, Pdf, Spreadsheet, etc.). (inherited from LoadOptions) |
| password | The password for opening an encrypted document. (inherited from LoadOptions) |
| Field | Description |
|---|---|
| DEFAULT | Gets the default value for the class. |
import groupdocs.watermark as gw
import groupdocs.watermark.contents.spreadsheet as gwc_xls
load_options = gw.SpreadsheetLoadOptions()
with gw.Watermarker("spreadsheet.xlsx", load_options) as watermarker:
content = watermarker.get_content(gwc_xls.SpreadsheetContent)
# manipulate worksheets, shapes, etc.
watermarker.save("spreadsheet.xlsx")
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.