Presentation constructor

init

This constructor creates new presentation from scratch. Created presentation has one empty slide.

def __init__(self):
    ...

init

This constructor creates new presentation from scratch. Created presentation has one empty slide.

def __init__(self, load_options):
    ...
ParameterTypeDescription
load_optionsLoadOptionsAdditional load options.

init

This constructor is the primary mechanism for reading an existing Presentation.

def __init__(self, stream):
    ...
ParameterTypeDescription
streamio.RawIOBaseInput stream.

init

This constructor gets a source file path from which the contents of the Presentation are read.

def __init__(self, file):
    ...
ParameterTypeDescription
filestrInput file.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentException))Thrown when input file has zero length

init

This constructor is the primary mechanism for reading an existing Presentation.

def __init__(self, stream, load_options):
    ...
ParameterTypeDescription
streamio.RawIOBaseInput stream.
load_optionsLoadOptionsAdditional load options.

init

This constructor gets a source file path from which the contents of the Presentation are read.

def __init__(self, file, load_options):
    ...
ParameterTypeDescription
filestrInput file.
load_optionsLoadOptionsAdditional load options.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentException))Thrown when input file has zero length

See Also