
## convert_svg {#aspose.html.dom.svg.SVGDocument-aspose.html.saving.XpsSaveOptions-str}

Convert svg document to xps.Result is xps file.



```python
def convert_svg(self, source, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source | aspose.html.dom.svg.SVGDocument | Conversion source. |
| options | aspose.html.saving.XpsSaveOptions | Conversion options. |
| output_path | str | Output file path. |


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


```python
def convert_svg(self, url, options, output_path):
    ...
```

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


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


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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#aspose.html.dom.svg.SVGDocument-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to xps. Result is xps file.



```python
def convert_svg(self, document, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| document | aspose.html.dom.svg.SVGDocument | Conversion source. |
| 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_svg {#aspose.html.Url-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to xps. Result is xps file.



```python
def convert_svg(self, url, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | The document 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_svg {#str-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to xps. Result is xps file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#aspose.html.dom.svg.SVGDocument-aspose.html.saving.DocSaveOptions-str}

Convert SVG document to DOCX. Result is docx file.



```python
def convert_svg(self, source, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source | aspose.html.dom.svg.SVGDocument | Conversion source. |
| options | aspose.html.saving.DocSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_svg {#aspose.html.Url-aspose.html.saving.DocSaveOptions-str}

Convert SVG document to DOCX. Result is docx file.



```python
def convert_svg(self, url, options, output_path):
    ...
```

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


## convert_svg {#str-aspose.html.saving.DocSaveOptions-str}

Convert SVG document to DOCX. Result is docx file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#aspose.html.dom.svg.SVGDocument-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert SVG document to DOCX. Result is docx file.



```python
def convert_svg(self, document, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| document | aspose.html.dom.svg.SVGDocument | Conversion source. |
| 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_svg {#aspose.html.Url-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert SVG document to DOCX. Result is docx file.



```python
def convert_svg(self, url, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | The document 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_svg {#str-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert SVG document to DOCX. Result is docx file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#aspose.html.dom.svg.SVGDocument-aspose.html.saving.PdfSaveOptions-str}

Convert svg source to pdf. Result is pdf file.



```python
def convert_svg(self, source, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source | aspose.html.dom.svg.SVGDocument | Conversion source. |
| options | aspose.html.saving.PdfSaveOptions | Conversion options. |
| output_path | str | Output file path. |


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


```python
def convert_svg(self, url, options, output_path):
    ...
```

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


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


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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#aspose.html.dom.svg.SVGDocument-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to pdf. Result is pdf file.



```python
def convert_svg(self, document, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| document | aspose.html.dom.svg.SVGDocument | Conversion source. |
| 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_svg {#aspose.html.Url-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to pdf. Result is pdf file.



```python
def convert_svg(self, url, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | The document 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_svg {#str-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to pdf. Result is pdf file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#aspose.html.dom.svg.SVGDocument-aspose.html.saving.ImageSaveOptions-str}

Convert svg document to image. Result is image file.



```python
def convert_svg(self, source, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source | aspose.html.dom.svg.SVGDocument | Conversion source. |
| options | aspose.html.saving.ImageSaveOptions | Conversion options. |
| output_path | str | Output file path. |


## convert_svg {#aspose.html.Url-aspose.html.saving.ImageSaveOptions-str}

Convert svg document to image. Result is image file.



```python
def convert_svg(self, url, options, output_path):
    ...
```

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


## convert_svg {#str-aspose.html.saving.ImageSaveOptions-str}

Convert svg document to image. Result is image file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#aspose.html.dom.svg.SVGDocument-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to image. Result is image file.



```python
def convert_svg(self, document, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| document | aspose.html.dom.svg.SVGDocument | Conversion source. |
| 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_svg {#aspose.html.Url-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to image. Result is image file.



```python
def convert_svg(self, url, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | The document 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_svg {#str-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to image. Result is image file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.XpsSaveOptions-str}

Convert svg source to xps. Result is xps file.



```python
def convert_svg(self, url, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | Source document 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_svg {#str-aspose.html.Configuration-aspose.html.saving.XpsSaveOptions-str}

Convert svg source to xps. Result is xps file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#str-str-aspose.html.saving.XpsSaveOptions-str}

Convert svg source to xps. Result is xps file.



```python
def convert_svg(self, content, base_uri, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to xps. Result is xps file.



```python
def convert_svg(self, url, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | The document 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_svg {#str-aspose.html.Configuration-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to xps. Result is xps file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#str-str-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to xps. Result is xps file.



```python
def convert_svg(self, content, base_uri, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.DocSaveOptions-str}

Convert SVG document to DOCX. Result is docx file.



```python
def convert_svg(self, url, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | Source document 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_svg {#str-aspose.html.Configuration-aspose.html.saving.DocSaveOptions-str}

Convert SVG document to DOCX. Result is docx file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#str-str-aspose.html.saving.DocSaveOptions-str}

Convert SVG document to DOCX. Result is docx file.



```python
def convert_svg(self, content, base_uri, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert SVG document to DOCX. Result is docx file.



```python
def convert_svg(self, url, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | The document 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_svg {#str-aspose.html.Configuration-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert SVG document to DOCX. Result is docx file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#str-str-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert SVG document to DOCX. Result is docx file.



```python
def convert_svg(self, content, base_uri, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.PdfSaveOptions-str}

Convert svg source to pdf. Result is pdf file.



```python
def convert_svg(self, url, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | The document 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_svg {#str-aspose.html.Configuration-aspose.html.saving.PdfSaveOptions-str}

Convert svg source to pdf. Result is pdf file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#str-str-aspose.html.saving.PdfSaveOptions-str}

Convert svg source to pdf. Result is pdf file.



```python
def convert_svg(self, content, base_uri, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to pdf. Result is pdf file.



```python
def convert_svg(self, url, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | The document 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_svg {#str-aspose.html.Configuration-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to pdf. Result is pdf file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#str-str-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to pdf. Result is pdf file.



```python
def convert_svg(self, content, base_uri, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Source document content. |
| base_uri | str | The base URI of the document. 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_svg {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.ImageSaveOptions-str}

Convert svg document to image. Result is image file.



```python
def convert_svg(self, url, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | The document 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_svg {#str-aspose.html.Configuration-aspose.html.saving.ImageSaveOptions-str}

Convert svg document to image. Result is image file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#str-str-aspose.html.saving.ImageSaveOptions-str}

Convert svg document to image. Result is image file.



```python
def convert_svg(self, content, base_uri, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#aspose.html.Url-aspose.html.Configuration-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to image. Result is image file.



```python
def convert_svg(self, url, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | The document 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_svg {#str-aspose.html.Configuration-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to image. Result is image file.



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


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Svg file source 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_svg {#str-str-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to image. Result is image file.



```python
def convert_svg(self, content, base_uri, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#str-str-aspose.html.Configuration-aspose.html.saving.XpsSaveOptions-str}

Convert svg source to xps. Result is xps file.



```python
def convert_svg(self, content, base_uri, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#str-str-aspose.html.Configuration-aspose.html.saving.XpsSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to xps. Result is xps file.



```python
def convert_svg(self, content, base_uri, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#str-str-aspose.html.Configuration-aspose.html.saving.DocSaveOptions-str}

Convert SVG document to DOCX. Result is docx file.



```python
def convert_svg(self, content, base_uri, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#str-str-aspose.html.Configuration-aspose.html.saving.DocSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert SVG document to DOCX. Result is docx file.



```python
def convert_svg(self, content, base_uri, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#str-str-aspose.html.Configuration-aspose.html.saving.PdfSaveOptions-str}

Convert svg source to pdf. Result is pdf file.



```python
def convert_svg(self, content, base_uri, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#str-str-aspose.html.Configuration-aspose.html.saving.PdfSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to pdf. Result is pdf file.



```python
def convert_svg(self, content, base_uri, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#str-str-aspose.html.Configuration-aspose.html.saving.ImageSaveOptions-str}

Convert svg document to image. Result is image file.



```python
def convert_svg(self, content, base_uri, configuration, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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_svg {#str-str-aspose.html.Configuration-aspose.html.saving.ImageSaveOptions-aspose.html.io.ICreateStreamProvider}

Convert svg source to image. Result is image file.



```python
def convert_svg(self, content, base_uri, configuration, options, provider):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline string svg content. |
| base_uri | str | The base URI of the document. 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. |



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