__init__ constructor
Leave feedback
On this page
Initializes a new instance of the PresentationWatermarkSlideOptions class.
def __init__(self):
...
import groupdocs.watermark as gw
import groupdocs.watermark.watermarks as gww
import groupdocs.watermark.options.presentation as ppt_opts
load_options = gw.PresentationLoadOptions()
with gw.Watermarker("presentation.pptx", load_options) as watermarker:
watermark = gww.TextWatermark("Sample watermark", gww.Font("Arial", 12))
options = ppt_opts.PresentationWatermarkSlideOptions()
options.slide_index = 0
watermarker.add(watermark, options)
watermarker.save("presentation.pptx")
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.