
## convert_mhtml {#io.RawIOBase-aspose.html.saving.XpsSaveOptions-str}

Convert mhtml source to xps. Result is xps file.



```python
def convert_mhtml(self, stream, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#str-aspose.html.saving.XpsSaveOptions-str}

Convert mhtml source to xps. Result is xps file.



```python
def convert_mhtml(self, source_path, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#aspose.html.Url-aspose.html.saving.XpsSaveOptions-str}

Convert mhtml source to xps. Result is xps file.



```python
def convert_mhtml(self, source_url, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#io.RawIOBase-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to xps. Result is xps file.



```python
def convert_mhtml(self, stream, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#str-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to xps. Result is xps file.



```python
def convert_mhtml(self, source_path, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#aspose.html.Url-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to xps. Result is xps file.



```python
def convert_mhtml(self, source_url, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#io.RawIOBase-aspose.html.saving.DocSaveOptions-str}

Convert MHTML source to DOCX. Result is docx file.



```python
def convert_mhtml(self, stream, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#str-aspose.html.saving.DocSaveOptions-str}

Convert MHTML source to DOCX. Result is docx file.



```python
def convert_mhtml(self, source_path, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#aspose.html.Url-aspose.html.saving.DocSaveOptions-str}

Convert MHTML source to DOCX. Result is docx file.



```python
def convert_mhtml(self, source_url, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#io.RawIOBase-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert MHTML source to DOCX. Result is docx file.



```python
def convert_mhtml(self, stream, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#str-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert MHTML source to DOCX. Result is docx file.



```python
def convert_mhtml(self, source_path, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#aspose.html.Url-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert MHTML source to DOCX. Result is docx file.



```python
def convert_mhtml(self, source_url, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#io.RawIOBase-aspose.html.saving.PdfSaveOptions-str}

Convert mhtml source to pdf. Result is pdf file.



```python
def convert_mhtml(self, stream, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#str-aspose.html.saving.PdfSaveOptions-str}

Convert mhtml source to pdf. Result is pdf file.



```python
def convert_mhtml(self, source_path, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#aspose.html.Url-aspose.html.saving.PdfSaveOptions-str}

Convert mhtml source to pdf. Result is pdf file.



```python
def convert_mhtml(self, source_url, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#io.RawIOBase-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to pdf. Result is pdf file.



```python
def convert_mhtml(self, stream, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#str-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to pdf. Result is pdf file.



```python
def convert_mhtml(self, source_path, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#aspose.html.Url-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to pdf. Result is pdf file.



```python
def convert_mhtml(self, source_url, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#io.RawIOBase-aspose.html.saving.ImageSaveOptions-str}

Convert mhtml source to image. Result is image file.



```python
def convert_mhtml(self, stream, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#str-aspose.html.saving.ImageSaveOptions-str}

Convert mhtml source to image. Result is image file.



```python
def convert_mhtml(self, source_path, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#aspose.html.Url-aspose.html.saving.ImageSaveOptions-str}

Convert mhtml source to image. Result is image file.



```python
def convert_mhtml(self, source_url, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#io.RawIOBase-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to image. Result is image file.



```python
def convert_mhtml(self, stream, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#str-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to image. Result is image file.



```python
def convert_mhtml(self, source_path, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#aspose.html.Url-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to image. Result is image file.



```python
def convert_mhtml(self, source_url, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#io.RawIOBase-aspose.html.Configuration-aspose.html.saving.XpsSaveOptions-str}

Convert mhtml source to xps. Result is xps file.



```python
def convert_mhtml(self, stream, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#str-aspose.html.Configuration-aspose.html.saving.XpsSaveOptions-str}

Convert mhtml source to xps. Result is xps file.



```python
def convert_mhtml(self, source_path, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.XpsSaveOptions-str}

Convert mhtml source to xps. Result is xps file.



```python
def convert_mhtml(self, source_url, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#io.RawIOBase-aspose.html.Configuration-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to xps. Result is xps file.



```python
def convert_mhtml(self, stream, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#str-aspose.html.Configuration-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to xps. Result is xps file.



```python
def convert_mhtml(self, source_path, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to xps. Result is xps file.



```python
def convert_mhtml(self, source_url, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#io.RawIOBase-aspose.html.Configuration-aspose.html.saving.DocSaveOptions-str}

Convert MHTML source to DOCX. Result is docx file.



```python
def convert_mhtml(self, stream, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#str-aspose.html.Configuration-aspose.html.saving.DocSaveOptions-str}

Convert MHTML source to DOCX. Result is docx file.



```python
def convert_mhtml(self, source_path, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.DocSaveOptions-str}

Convert MHTML source to DOCX. Result is docx file.



```python
def convert_mhtml(self, source_url, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#io.RawIOBase-aspose.html.Configuration-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert MHTML source to DOCX. Result is docx file.



```python
def convert_mhtml(self, stream, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#str-aspose.html.Configuration-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert MHTML source to DOCX. Result is docx file.



```python
def convert_mhtml(self, source_path, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert MHTML source to DOCX. Result is docx file.



```python
def convert_mhtml(self, source_url, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#io.RawIOBase-aspose.html.Configuration-aspose.html.saving.PdfSaveOptions-str}

Convert mhtml source to pdf. Result is pdf file.



```python
def convert_mhtml(self, stream, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#str-aspose.html.Configuration-aspose.html.saving.PdfSaveOptions-str}

Convert mhtml source to pdf. Result is pdf file.



```python
def convert_mhtml(self, source_path, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.PdfSaveOptions-str}

Convert mhtml source to pdf. Result is pdf file.



```python
def convert_mhtml(self, source_url, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#io.RawIOBase-aspose.html.Configuration-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to pdf. Result is pdf file.



```python
def convert_mhtml(self, stream, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#str-aspose.html.Configuration-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to pdf. Result is pdf file.



```python
def convert_mhtml(self, source_path, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to pdf. Result is pdf file.



```python
def convert_mhtml(self, source_url, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#io.RawIOBase-aspose.html.Configuration-aspose.html.saving.ImageSaveOptions-str}

Convert mhtml source to image. Result is image file.



```python
def convert_mhtml(self, stream, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#str-aspose.html.Configuration-aspose.html.saving.ImageSaveOptions-str}

Convert mhtml source to image. Result is image file.



```python
def convert_mhtml(self, source_path, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.ImageSaveOptions-str}

Convert mhtml source to image. Result is image file.



```python
def convert_mhtml(self, source_url, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_mhtml {#io.RawIOBase-aspose.html.Configuration-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to image. Result is image file.



```python
def convert_mhtml(self, stream, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Conversion source stream. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#str-aspose.html.Configuration-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to image. Result is image file.



```python
def convert_mhtml(self, source_path, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | MHTML source file path. It will be combined with the current directory path to form an absolute URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |


## convert_mhtml {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert mhtml source to image. Result is image file.



```python
def convert_mhtml(self, source_url, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_url | [`Url`](/html/python-net/aspose.html/url) | The source URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| provider | aspose.html.io.ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider) interface, which will be used to get an output stream. |



### See Also
* module [`aspose.html.converters`](../../)
* class [`Converter`](/html/python-net/aspose.html.converters/converter)
* class [`ICreateStreamProvider`](/html/python-net/aspose.html.io/icreatestreamprovider)
