process
#
Converts the input presentation to PDF format.
@staticmethod
def process(input_file_name, output_file_name):
...
Parameter |
Type |
Description |
input_file_name |
str |
The name of the input presentation file. |
output_file_name |
str |
The output file name. |
Examples
#
slidize.PresentationToPdfConverter.process("pres.pptx", "pres.pdf")
Exceptions
#
Exception |
Description |
RuntimeError(Proxy error(ArgumentException)) |
|
process
#
Converts the input presentation to PDF format.
@staticmethod
def process(input_stream, output_stream):
...
Parameter |
Type |
Description |
input_stream |
io.RawIOBase |
The input presentation stream. |
output_stream |
io.RawIOBase |
The output stream. |
Examples
#
with open("pres.pptx", "rb") as input_stream, io.BytesIO() as output_stream:
slidize.PresentationToPdfConverter.process(input_stream, output_stream)
Exceptions
#
Exception |
Description |
RuntimeError(Proxy error(ArgumentException)) |
|
process
#
Converts the input presentation to PDF format with custom options.
@staticmethod
def process(input_file_name, output_file_name, options):
...
Parameter |
Type |
Description |
input_file_name |
str |
The name of the input presentation file. |
output_file_name |
str |
The output file name. |
options |
PdfConverterOptions |
PDF converter options. |
Examples
#
options = slidize.PdfConverterOptions()
options.compliance_level = slidize.PdfComplianceLevel.PDF_UA
slidize.PresentationToPdfConverter.process("pres.pptx", "pres.pdf")
Exceptions
#
Exception |
Description |
RuntimeError(Proxy error(ArgumentException)) |
|
process
#
Converts the input presentation to PDF format with custom options.
@staticmethod
def process(input_stream, output_stream, options):
...
Parameter |
Type |
Description |
input_stream |
io.RawIOBase |
The input presentation stream. |
output_stream |
io.RawIOBase |
The output stream. |
options |
PdfConverterOptions |
PDF converter options. |
Examples
#
with open("pres.pptx", "rb") as input_stream, io.BytesIO() as output_stream:
options = slidize.PdfConverterOptions()
options.compliance_level = slidize.PdfComplianceLevel.PDF_UA
slidize.PresentationToPdfConverter.process(input_stream, output_stream)
Exceptions
#
Exception |
Description |
RuntimeError(Proxy error(ArgumentException)) |
|
See Also
#