add_from_pdf method
Contents
[
Hide
]add_from_pdf
Creates slides from the PDF document and adds them to the end of the collection.
Returns
Added slides
def add_from_pdf(self, path):
...
| Parameter | Type | Description |
|---|---|---|
| path | str | A path to the PDF document |
Examples
Example:
add_from_pdf
Creates slides from the PDF document and adds them to the end of the collection.
Returns
Added slides
def add_from_pdf(self, pdf_stream):
...
| Parameter | Type | Description |
|---|---|---|
| pdf_stream | io.RawIOBase | A stream which will be used as a source of the PDF document |
Examples
Example:
add_from_pdf
Creates slides from the PDF document and adds them to the end of the collection considering the pdf import options.
Returns
Added slides
def add_from_pdf(self, path, pdf_import_options):
...
| Parameter | Type | Description |
|---|---|---|
| path | str | A path to the PDF document |
| pdf_import_options | PdfImportOptions | Options for pdf import |
Examples
Example:
add_from_pdf
Creates slides from the PDF document and adds them to the end of the collection.
Returns
Added slides
def add_from_pdf(self, pdf_stream, pdf_import_options):
...
| Parameter | Type | Description |
|---|---|---|
| pdf_stream | io.RawIOBase | A stream which will be used as a source of the PDF document |
| pdf_import_options | PdfImportOptions | Options for pdf import |
Examples
Example:
See Also
- class
ISlideCollection - class
PdfImportOptions - module
aspose.slides - library
Aspose.Slides