convert method
convert
Converts source document. Saves the whole converted document.
def convert(self, document, convert_options):
...
| Parameter | Type | Description |
|---|---|---|
| document | io.RawIOBase | Output stream. |
| convert_options | groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. |
convert
Converts source document. Saves the whole converted document.
def convert(self, file_path, convert_options):
...
| Parameter | Type | Description |
|---|---|---|
| file_path | str | The file path to the output document. |
| convert_options | groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. |
See Also
- module
groupdocs.conversion - class
Converter