SpreadsheetWatermarkModernWordArtOptions class
Leave feedback
On this page
Represents options when adding modern word art watermark to a Spreadsheet worksheet.
Learn more:
The SpreadsheetWatermarkModernWordArtOptions type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the SpreadsheetWatermarkModernWordArtOptions class. |
| Property | Description |
|---|---|
| worksheet_index | The index of worksheet to add the watermark to. |
| alternative_text | The descriptive (alternative) text that will be associated with a shape. (inherited from SpreadsheetWatermarkBaseOptions) |
| is_locked | The property indicates whether editing of the shape in Excel is forbidden. (inherited from SpreadsheetWatermarkBaseOptions) |
| name | The name of the shape. (inherited from SpreadsheetWatermarkBaseOptions) |
| Field | Description |
|---|---|
| DEFAULT | Gets the default value for the class. (inherited from WatermarkOptions) |
from groupdocs.watermark import Watermarker
from groupdocs.watermark.options.spreadsheet import SpreadsheetLoadOptions, SpreadsheetWatermarkModernWordArtOptions
from groupdocs.watermark.watermarks import TextWatermark, Font
load_options = SpreadsheetLoadOptions()
with Watermarker("./spreadsheet.xlsx", load_options) as watermarker:
watermark = TextWatermark("Test watermark", Font("Arial", 36.0))
options = SpreadsheetWatermarkModernWordArtOptions()
options.worksheet_index = 0
options.is_locked = False
watermarker.add(watermark, options)
watermarker.save("./output.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.