PresentationWatermarkNoteSlideOptions class

PresentationWatermarkNoteSlideOptions class

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

Learn more:

See the usage examples in PresentationWatermarkBaseSlideOptions.

The PresentationWatermarkNoteSlideOptions type exposes the following members:

Constructors

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

Properties

Property Description
slide_index The index of a slide to add the watermark to its note slide.
alternative_text The descriptive (alternative) text that will be associated with a shape. (inherited from PresentationWatermarkBaseSlideOptions)
effects The effects to apply 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. (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
import groupdocs.watermark.contents.presentation as gwc_ppt

load_options = gwo_ppt.PresentationLoadOptions()
with gw.Watermarker("presentation.pptx", load_options) as watermarker:
    watermark = gww.TextWatermark("Test watermark", gww.Font("Arial", 8.0))
    content = watermarker.get_content()

    note_opts = gwo_ppt.PresentationWatermarkNoteSlideOptions()
    note_opts.slide_index = 0  # index of the slide whose notes will receive the watermark
    watermarker.add(watermark, note_opts)

See Also