PresentationWatermarkBaseSlideOptions class
Leave feedback
On this page
Base class for watermark adding options to a Presentation document.
Learn more:
- Add watermarks to presentation documents: https://docs.groupdocs.com/display/watermarknet/Add+watermarks+to+presentation+documents
The PresentationWatermarkBaseSlideOptions type exposes the following members:
| Property | Description |
|---|---|
| alternative_text | The descriptive (alternative) text that will be associated with a shape. |
| effects | The effects to apply to the watermark, specified as a PresentationImageEffects or PresentationTextEffects instance. |
| is_locked | The property indicates whether editing of the shape in PowerPoint is forbidden. |
| name | The name of the shape. |
| protect_with_unreadable_characters | The property indicating whether the text watermark characters are mixed with unreadable characters. |
| Field | Description |
|---|---|
| DEFAULT | Gets the default value for the class. (inherited from WatermarkOptions) |
from groupdocs.watermark import Watermarker
from groupdocs.watermark.options.presentation import PresentationWatermarkMasterSlideOptions
from groupdocs.watermark.options.presentation import PresentationWatermarkLayoutSlideOptions
from groupdocs.watermark.watermarks import TextWatermark, Font
with Watermarker("./presentation.pptx") as watermarker:
watermark = TextWatermark("Test watermark", Font("Arial", 8.0))
master_options = PresentationWatermarkMasterSlideOptions()
master_options.master_slide_index = 0
watermarker.add(watermark, master_options)
layout_options = PresentationWatermarkLayoutSlideOptions()
layout_options.layout_slide_index = 0
watermarker.add(watermark, layout_options)
watermarker.save("./output.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.