convert method
convert
Converts the source document and saves the whole converted document.
Learn more
- More about document conversion basic scenarios: How to convert document in 3 steps (https://docs.groupdocs.com/display/conversionnet/Convert+document)
- Conversion use cases, advanced settings and customizations: Convert document with advanced settings (https://docs.groupdocs.com/display/conversionnet/Converting)
def convert(self, file_path, convert_options):
...
| Parameter | Type | Description |
|---|---|---|
| file_path | str |
The file path to the source document. |
| convert_options | ConvertOptions |
The convert options specific to desired target file type. |
See Also
- class
Converter