save method

save

Saves all slides of a presentation to a set of files representing XAML markup.

def save(self, options):
    ...
ParameterTypeDescription
optionsIXamlOptionsThe XAML format options.

save

Saves all slides of a presentation to a file with the specified format.

def save(self, fname, format):
    ...
ParameterTypeDescription
fnamestrPath to the created file.
formatSaveFormatFormat of the exported data.

save

Saves all slides of a presentation to a stream in the specified format.

def save(self, stream, format):
    ...
ParameterTypeDescription
streamio.RawIOBaseOutput stream.
formatSaveFormatFormat of the exported data.

save

def save(self, fname, format, options):
    ...
ParameterTypeDescription
fnamestr
formatSaveFormat
optionsISaveOptions

save

Saves all slides of a presentation to a stream in the specified format and with additional options.

def save(self, stream, format, options):
    ...
ParameterTypeDescription
streamio.RawIOBaseOutput stream.
formatSaveFormatFormat of the exported data.
optionsISaveOptionsAdditional format options.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(NotSupportedException))If you try to save encrypted file in
none Office 2007-2010 format

save

Saves specified slides of a presentation to a file with the specified format with page number keeping.

def save(self, fname, slides, format):
    ...
ParameterTypeDescription
fnamestrPath to the created file.
slidesList[int]Array with slide positions, starting from 1.
formatSaveFormatFormat of the exported data.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentNullException))When stream or slides parameter is None.
RuntimeError(Proxy error(ArgumentOutOfRangeException))When slides parameter contains wrong page numbers.
RuntimeError(Proxy error(InvalidOperationException))When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

Saves specified slides of a presentation to a stream in the specified format with page number keeping.

def save(self, stream, slides, format):
    ...
ParameterTypeDescription
streamio.RawIOBaseOutput stream.
slidesList[int]Array with slide positions, starting from 1.
formatSaveFormatFormat of the exported data.

save

Saves specified slides of a presentation to a file with the specified format with page number keeping.

def save(self, fname, slides, format, options):
    ...
ParameterTypeDescription
fnamestrPath to the created file.
slidesList[int]Array with slide positions, starting from 1.
formatSaveFormatFormat of the exported data.
optionsISaveOptionsAdditional format options.

save

Saves specified slides of a presentation to a stream in the specified format with page number keeping.

def save(self, stream, slides, format, options):
    ...
ParameterTypeDescription
streamio.RawIOBaseOutput stream.
slidesList[int]Array with slide positions, starting from 1.
formatSaveFormatFormat of the exported data.
optionsISaveOptionsAdditional format options.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentNullException))When stream or slides parameter is None.
RuntimeError(Proxy error(ArgumentOutOfRangeException))When slides parameter contains wrong page numbers.
RuntimeError(Proxy error(InvalidOperationException))When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

See Also