__init__ constructor

On this page

init

Initializes a new instance of the PresentationLoadOptions class.

def __init__(self):
    ...

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)

init

Initializes a new instance of the PresentationLoadOptions class with a specified password.

def __init__(self, password):
    ...
Parameter Type Description
password str The password for opening an encrypted content.

Example

    import groupdocs.watermark as gw

    load_options = gw.PresentationLoadOptions()
    ```

### See Also
* class [`PresentationLoadOptions`](/watermark/python-net/groupdocs.watermark.options.presentation/presentationloadoptions/)

On this page