convert_by_page method
Contents
[
Hide
]
convert_by_page
Converts source document. Saves the converted document page by page.
def convert_by_page(self, output_folder, convert_options):
...
Parameter | Type | Description |
---|---|---|
output_folder | str | Output folder to save converted pages. File name template is converted-page-{0}.ext. |
convert_options | groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. |
convert_by_page
Converts source document. Saves the converted document page to a stream
def convert_by_page(self, file_path, page_number, convert_options):
...
Parameter | Type | Description |
---|---|---|
file_path | str | Output file path. |
page_number | int | Page number to convert. |
convert_options | groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. |
convert_by_page
Converts source document. Saves the converted document page to a stream
def convert_by_page(self, page_stream, page_number, convert_options):
...
Parameter | Type | Description |
---|---|---|
page_stream | io.RawIOBase | Output page stream. |
page_number | int | Page number to convert. |
convert_options | groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. |
See Also
- module
groupdocs.conversion
- class
Converter