PresentationContent class

PresentationContent class

Represents a PowerPoint document where a watermark can be placed.

Learn more:

The PresentationContent type exposes the following members:

Methods

Method Description
decrypt Decrypts the document.
encrypt Encrypts the document.
encrypt_file
encrypt_string
dispose Disposes the current instance. (inherited from Content)
find_images Finds images according to the specified search criteria. (inherited from ContentPart)
find_images_image_search_criteria (inherited from ContentPart)
search Finds possible watermarks according to the specified search criteria. (inherited from ContentPart)
search_search_criteria (inherited from ContentPart)

Properties

Property Description
layout_slides The collection of all layout slides of this PresentationContent.
master_handout_slide The master handout slide of this PresentationContent.
master_notes_slide The master slide for all notes slides of this PresentationContent.
master_slides The collection of all master slides of this PresentationContent.
notes_slide_height The height of a notes slide in points.
notes_slide_width The width of a notes slide in points.
slide_height The height of a slide in points.
slide_width The width of a slide in points.
slides The collection of all slides of this PresentationContent.

Example

import groupdocs.watermark as gw
import groupdocs.watermark.contents.presentation as gwc_ppt

load_options = gw.PresentationLoadOptions()
with gw.Watermarker("presentation.pptx", load_options) as watermarker:
    content = watermarker.get_content(gwc_ppt.PresentationContent)
    print(content.slide_width)
    print(content.slide_height)

See Also