__init__ constructor
Leave feedback
On this page
Initializes a new instance of the SpreadsheetWatermarkModernWordArtOptions class.
def __init__(self):
...
import groupdocs.watermark as gw
import groupdocs.watermark.watermarks as gww
import groupdocs.watermark.options.spreadsheet as gwo_xls
load_options = gw.SpreadsheetLoadOptions()
with gw.Watermarker("spreadsheet.xlsx", load_options) as watermarker:
text_watermark = gww.TextWatermark("Test watermark", gww.Font("Arial", 8.0))
options = gwo_xls.SpreadsheetWatermarkModernWordArtOptions()
options.worksheet_index = 0
watermarker.add(text_watermark, options)
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.