PresentationWatermarkMasterSlideOptions class

PresentationWatermarkMasterSlideOptions class

Represents options when adding a watermark to a Presentation document master slide.

Learn more:

See the usage examples in PresentationWatermarkBaseSlideOptions.

The PresentationWatermarkMasterSlideOptions type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of the PresentationWatermarkMasterSlideOptions class.

Properties

Property Description
master_slide_index The index of the master slide to add the watermark to.
alternative_text The descriptive (alternative) text that will be associated with a shape. (inherited from PresentationWatermarkBaseSlideOptions)
effects The effects applied to the watermark, specified as a PresentationImageEffects or PresentationTextEffects instance. (inherited from PresentationWatermarkBaseSlideOptions)
is_locked The property indicates whether editing of the shape in PowerPoint is forbidden. If True, shape editing is forbidden; by default False, the shape can be edited. (inherited from PresentationWatermarkBaseSlideOptions)
name The name of the shape. (inherited from PresentationWatermarkBaseSlideOptions)
protect_with_unreadable_characters The property indicating whether the text watermark characters are mixed with unreadable characters. (inherited from PresentationWatermarkBaseSlideOptions)

Fields

Field Description
DEFAULT Gets the default value for the class. (inherited from WatermarkOptions)

Example

import groupdocs.watermark as gw
import groupdocs.watermark.watermarks as gww
import groupdocs.watermark.options.presentation as gwo_ppt

watermarker = gw.Watermarker("presentation.pptx")
watermark = gww.TextWatermark("Test watermark", gww.Font("Arial", 8.0))

master_opts = gwo_ppt.PresentationWatermarkMasterSlideOptions()
master_opts.master_slide_index = -1
watermarker.add(watermark, master_opts)

See Also