PresentationLoadOptions class

PresentationLoadOptions class

Represents document loading options for a Presentation document.

The PresentationLoadOptions type exposes the following members:

Constructors

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

Properties

Property Description
file_type The file type, indicating its format (e.g., docx, pdf, xlsx, etc.). (inherited from LoadOptions)
format_family The format family of the document, indicating its type (e.g., Image, Pdf, Spreadsheet, etc.). (inherited from LoadOptions)
password The password for opening an encrypted document. (inherited from LoadOptions)

Fields

Field Description
DEFAULT Gets the default value for the class.

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