## ConvertHTML(*[HTMLDocument](../../../aspose.html/htmldocument/), [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), string*) {#converthtml_1}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(HTMLDocument document, DocSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| document | HTMLDocument | Conversion source [`HTMLDocument`](../../../aspose.html/htmldocument/). |
| options | DocSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [HTMLDocument](../../../aspose.html/htmldocument/)
* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), string*) {#converthtml_23}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(Url url, DocSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| options | DocSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [Configuration](../../../aspose.html/configuration/), [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), string*) {#converthtml_12}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(Url url, Configuration configuration, DocSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| configuration | Configuration | The environment configuration. |
| options | DocSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [Configuration](../../../aspose.html/configuration/)
* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), string*) {#converthtml_48}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(string sourcePath, DocSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | HTML file source path. It will be combined with the current directory path to form an absolute URL. |
| options | DocSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [Configuration](../../../aspose.html/configuration/), [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), string*) {#converthtml_37}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(string sourcePath, Configuration configuration, 
    DocSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | HTML file source path. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | DocSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), string*) {#converthtml_70}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(string content, string baseUri, DocSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string HTML content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| options | DocSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [Configuration](../../../aspose.html/configuration/), [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), string*) {#converthtml_59}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(string content, string baseUri, Configuration configuration, 
    DocSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | DocSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[HTMLDocument](../../../aspose.html/htmldocument/), [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(HTMLDocument document, DocSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| document | HTMLDocument | Conversion source [`HTMLDocument`](../../../aspose.html/htmldocument/). |
| options | DocSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [HTMLDocument](../../../aspose.html/htmldocument/)
* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_22}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(Url url, DocSaveOptions options, ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| options | DocSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [Configuration](../../../aspose.html/configuration/), [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_11}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(Url url, Configuration configuration, DocSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| configuration | Configuration | The environment configuration. |
| options | DocSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [Configuration](../../../aspose.html/configuration/)
* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_47}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(string sourcePath, DocSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | HTML file source path. It will be combined with the current directory path to form an absolute URL. |
| options | DocSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [Configuration](../../../aspose.html/configuration/), [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_36}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(string sourcePath, Configuration configuration, 
    DocSaveOptions options, ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | HTML file source path. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | DocSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_69}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(string content, string baseUri, DocSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string HTML content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| options | DocSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [Configuration](../../../aspose.html/configuration/), [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_58}

Convert HTML source document to DOCX. Result is docx file.

```csharp
public static void ConvertHTML(string content, string baseUri, Configuration configuration, 
    DocSaveOptions options, ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string HTML content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | DocSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [DocSaveOptions](../../../aspose.html.saving/docsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[HTMLDocument](../../../aspose.html/htmldocument/), [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), string*) {#converthtml_7}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(HTMLDocument document, PdfSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| document | HTMLDocument | Conversion source [`HTMLDocument`](../../../aspose.html/htmldocument/). |
| options | PdfSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [HTMLDocument](../../../aspose.html/htmldocument/)
* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), string*) {#converthtml_29}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(Url url, PdfSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| options | PdfSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [Configuration](../../../aspose.html/configuration/), [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), string*) {#converthtml_18}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(Url url, Configuration configuration, PdfSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| configuration | Configuration | The environment configuration. |
| options | PdfSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [Configuration](../../../aspose.html/configuration/)
* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), string*) {#converthtml_54}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(string sourcePath, PdfSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| options | PdfSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [Configuration](../../../aspose.html/configuration/), [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), string*) {#converthtml_43}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(string sourcePath, Configuration configuration, 
    PdfSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | PdfSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), string*) {#converthtml_76}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(string content, string baseUri, PdfSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| options | PdfSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [Configuration](../../../aspose.html/configuration/), [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), string*) {#converthtml_65}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(string content, string baseUri, Configuration configuration, 
    PdfSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | PdfSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[HTMLDocument](../../../aspose.html/htmldocument/), [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_6}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(HTMLDocument document, PdfSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| document | HTMLDocument | Conversion source [`HTMLDocument`](../../../aspose.html/htmldocument/). |
| options | PdfSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [HTMLDocument](../../../aspose.html/htmldocument/)
* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_28}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(Url url, PdfSaveOptions options, ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| options | PdfSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [Configuration](../../../aspose.html/configuration/), [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_17}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(Url url, Configuration configuration, PdfSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| configuration | Configuration | The environment configuration. |
| options | PdfSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [Configuration](../../../aspose.html/configuration/)
* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_53}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(string sourcePath, PdfSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| options | PdfSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [Configuration](../../../aspose.html/configuration/), [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_42}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(string sourcePath, Configuration configuration, 
    PdfSaveOptions options, ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | PdfSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_75}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(string content, string baseUri, PdfSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| options | PdfSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [Configuration](../../../aspose.html/configuration/), [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_64}

Convert html source document to PDF. Result is pdf file.

```csharp
public static void ConvertHTML(string content, string baseUri, Configuration configuration, 
    PdfSaveOptions options, ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | PdfSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [PdfSaveOptions](../../../aspose.html.saving/pdfsaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[HTMLDocument](../../../aspose.html/htmldocument/), [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/), string*) {#converthtml_5}

Convert html document to mhtml. Result is mhtml file.

```csharp
public static void ConvertHTML(HTMLDocument document, MHTMLSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| document | HTMLDocument | Conversion source. |
| options | MHTMLSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [HTMLDocument](../../../aspose.html/htmldocument/)
* class [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/), string*) {#converthtml_27}

Convert html document to mhtml. Result is mhtml file.

```csharp
public static void ConvertHTML(Url url, MHTMLSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| options | MHTMLSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [Configuration](../../../aspose.html/configuration/), [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/), string*) {#converthtml_16}

Convert html document to mhtml. Result is mhtml file.

```csharp
public static void ConvertHTML(Url url, Configuration configuration, MHTMLSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| configuration | Configuration | The environment configuration. |
| options | MHTMLSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [Configuration](../../../aspose.html/configuration/)
* class [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/), string*) {#converthtml_52}

Convert html document to mhtml. Result is mhtml file.

```csharp
public static void ConvertHTML(string sourcePath, MHTMLSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| options | MHTMLSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [Configuration](../../../aspose.html/configuration/), [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/), string*) {#converthtml_41}

Convert html document to mhtml. Result is mhtml file.

```csharp
public static void ConvertHTML(string sourcePath, Configuration configuration, 
    MHTMLSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | MHTMLSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/), string*) {#converthtml_74}

Convert html document to mhtml. Result is mhtml file.

```csharp
public static void ConvertHTML(string content, string baseUri, MHTMLSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| options | MHTMLSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [Configuration](../../../aspose.html/configuration/), [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/), string*) {#converthtml_63}

Convert html document to mhtml. Result is mhtml file.

```csharp
public static void ConvertHTML(string content, string baseUri, Configuration configuration, 
    MHTMLSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | MHTMLSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [MHTMLSaveOptions](../../../aspose.html.saving/mhtmlsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[HTMLDocument](../../../aspose.html/htmldocument/), [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/), string*) {#converthtml_4}

Convert html document to markdown. Result is md file.

```csharp
public static void ConvertHTML(HTMLDocument document, MarkdownSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| document | HTMLDocument | Conversion source. |
| options | MarkdownSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [HTMLDocument](../../../aspose.html/htmldocument/)
* class [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/), string*) {#converthtml_26}

Convert html source to markdown. Result is md file.

```csharp
public static void ConvertHTML(Url url, MarkdownSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| options | MarkdownSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [Configuration](../../../aspose.html/configuration/), [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/), string*) {#converthtml_15}

Convert html source to markdown. Result is md file.

```csharp
public static void ConvertHTML(Url url, Configuration configuration, MarkdownSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| configuration | Configuration | The environment configuration. |
| options | MarkdownSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [Configuration](../../../aspose.html/configuration/)
* class [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/), string*) {#converthtml_51}

Convert html source to markdown. Result is md file.

```csharp
public static void ConvertHTML(string sourcePath, MarkdownSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| options | MarkdownSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [Configuration](../../../aspose.html/configuration/), [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/), string*) {#converthtml_40}

Convert html source to markdown. Result is md file.

```csharp
public static void ConvertHTML(string sourcePath, Configuration configuration, 
    MarkdownSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | MarkdownSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/), string*) {#converthtml_73}

Convert html source to markdown. Result is md file.

```csharp
public static void ConvertHTML(string content, string baseUri, MarkdownSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| options | MarkdownSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [Configuration](../../../aspose.html/configuration/), [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/), string*) {#converthtml_62}

Convert html source to markdown. Result is md file.

```csharp
public static void ConvertHTML(string content, string baseUri, Configuration configuration, 
    MarkdownSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | MarkdownSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*Stream, [Configuration](../../../aspose.html/configuration/), [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/), string*) {#converthtml_33}

Convert HTML source stream to markdown. Result is md file.

```csharp
public static void ConvertHTML(Stream stream, Configuration configuration, 
    MarkdownSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | HTML source stream. |
| configuration | Configuration | The environment configuration. |
| options | MarkdownSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*Stream, string, [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/), string*) {#converthtml_35}

Convert HTML source stream to markdown. Result is md file.

```csharp
public static void ConvertHTML(Stream stream, string baseUri, MarkdownSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | HTML source stream. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| options | MarkdownSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*Stream, string, [Configuration](../../../aspose.html/configuration/), [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/), string*) {#converthtml_34}

Convert HTML source stream to markdown. Result is md file.

```csharp
public static void ConvertHTML(Stream stream, string baseUri, Configuration configuration, 
    MarkdownSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | HTML source stream. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | MarkdownSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [MarkdownSaveOptions](../../../aspose.html.saving/markdownsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[HTMLDocument](../../../aspose.html/htmldocument/), [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), string*) {#converthtml_10}

Convert html document to xps. Result is xps file.

```csharp
public static void ConvertHTML(HTMLDocument document, XpsSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| document | HTMLDocument | Conversion source. |
| options | XpsSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [HTMLDocument](../../../aspose.html/htmldocument/)
* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), string*) {#converthtml_32}

Convert html document to xps. Result is xps file.

```csharp
public static void ConvertHTML(Url url, XpsSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| options | XpsSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [Configuration](../../../aspose.html/configuration/), [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), string*) {#converthtml_21}

Convert html document to xps. Result is xps file.

```csharp
public static void ConvertHTML(Url url, Configuration configuration, XpsSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| configuration | Configuration | The environment configuration. |
| options | XpsSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [Configuration](../../../aspose.html/configuration/)
* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), string*) {#converthtml_57}

Convert html document to xps. Result is xps file.

```csharp
public static void ConvertHTML(string sourcePath, XpsSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| options | XpsSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [Configuration](../../../aspose.html/configuration/), [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), string*) {#converthtml_46}

Convert html document to xps. Result is xps file.

```csharp
public static void ConvertHTML(string sourcePath, Configuration configuration, 
    XpsSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | XpsSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), string*) {#converthtml_79}

Convert html document to xps. Result is xps file.

```csharp
public static void ConvertHTML(string content, string baseUri, XpsSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| options | XpsSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [Configuration](../../../aspose.html/configuration/), [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), string*) {#converthtml_68}

Convert html document to xps. Result is xps file.

```csharp
public static void ConvertHTML(string content, string baseUri, Configuration configuration, 
    XpsSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | XpsSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[HTMLDocument](../../../aspose.html/htmldocument/), [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_9}

Convert html source to xps. Result is xps file.

```csharp
public static void ConvertHTML(HTMLDocument document, XpsSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| document | HTMLDocument | Conversion source. |
| options | XpsSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [HTMLDocument](../../../aspose.html/htmldocument/)
* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_31}

Convert html source to xps. Result is xps file.

```csharp
public static void ConvertHTML(Url url, XpsSaveOptions options, ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| options | XpsSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [Configuration](../../../aspose.html/configuration/), [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_20}

Convert html source to xps. Result is xps file.

```csharp
public static void ConvertHTML(Url url, Configuration configuration, XpsSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| configuration | Configuration | The environment configuration. |
| options | XpsSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [Configuration](../../../aspose.html/configuration/)
* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_56}

Convert html source to xps. Result is xps file.

```csharp
public static void ConvertHTML(string sourcePath, XpsSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| options | XpsSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [Configuration](../../../aspose.html/configuration/), [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_45}

Convert html source to xps. Result is xps file.

```csharp
public static void ConvertHTML(string sourcePath, Configuration configuration, 
    XpsSaveOptions options, ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | XpsSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_78}

Convert html source to xps. Result is xps file.

```csharp
public static void ConvertHTML(string content, string baseUri, XpsSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| options | XpsSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [Configuration](../../../aspose.html/configuration/), [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_67}

Convert html source to xps. Result is xps file.

```csharp
public static void ConvertHTML(string content, string baseUri, Configuration configuration, 
    XpsSaveOptions options, ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | XpsSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [XpsSaveOptions](../../../aspose.html.saving/xpssaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[HTMLDocument](../../../aspose.html/htmldocument/), [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), string*) {#converthtml_3}

Convert html document to image. Result is image file.

```csharp
public static void ConvertHTML(HTMLDocument document, ImageSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| document | HTMLDocument | Conversion source. |
| options | ImageSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [HTMLDocument](../../../aspose.html/htmldocument/)
* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), string*) {#converthtml_25}

Convert html document to image. Result is image file.

```csharp
public static void ConvertHTML(Url url, ImageSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| options | ImageSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [Configuration](../../../aspose.html/configuration/), [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), string*) {#converthtml_14}

Convert html document to image. Result is image file.

```csharp
public static void ConvertHTML(Url url, Configuration configuration, ImageSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| configuration | Configuration | The environment configuration. |
| options | ImageSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [Configuration](../../../aspose.html/configuration/)
* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), string*) {#converthtml_50}

Convert html document to image. Result is image file.

```csharp
public static void ConvertHTML(string sourcePath, ImageSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| options | ImageSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [Configuration](../../../aspose.html/configuration/), [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), string*) {#converthtml_39}

Convert html document to image. Result is image file.

```csharp
public static void ConvertHTML(string sourcePath, Configuration configuration, 
    ImageSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | ImageSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), string*) {#converthtml_72}

Convert html document to image. Result is image file.

```csharp
public static void ConvertHTML(string content, string baseUri, ImageSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| options | ImageSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [Configuration](../../../aspose.html/configuration/), [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), string*) {#converthtml_61}

Convert html document to image. Result is image file.

```csharp
public static void ConvertHTML(string content, string baseUri, Configuration configuration, 
    ImageSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | ImageSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[HTMLDocument](../../../aspose.html/htmldocument/), [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_2}

Convert html source to image. Result is image file.

```csharp
public static void ConvertHTML(HTMLDocument document, ImageSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| document | HTMLDocument | Conversion source. |
| options | ImageSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [HTMLDocument](../../../aspose.html/htmldocument/)
* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_24}

Convert html source to image. Result is image file.

```csharp
public static void ConvertHTML(Url url, ImageSaveOptions options, ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| options | ImageSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [Configuration](../../../aspose.html/configuration/), [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_13}

Convert html source to image. Result is image file.

```csharp
public static void ConvertHTML(Url url, Configuration configuration, ImageSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| configuration | Configuration | The environment configuration. |
| options | ImageSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [Configuration](../../../aspose.html/configuration/)
* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_49}

Convert html source to image. Result is image file.

```csharp
public static void ConvertHTML(string sourcePath, ImageSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| options | ImageSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [Configuration](../../../aspose.html/configuration/), [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_38}

Convert html source to image. Result is image file.

```csharp
public static void ConvertHTML(string sourcePath, Configuration configuration, 
    ImageSaveOptions options, ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | ImageSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_71}

Convert html source to image. Result is image file.

```csharp
public static void ConvertHTML(string content, string baseUri, ImageSaveOptions options, 
    ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| options | ImageSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [Configuration](../../../aspose.html/configuration/), [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/), [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)*) {#converthtml_60}

Convert html source to image. Result is image file.

```csharp
public static void ConvertHTML(string content, string baseUri, Configuration configuration, 
    ImageSaveOptions options, ICreateStreamProvider provider)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | ImageSaveOptions | Conversion options. |
| provider | ICreateStreamProvider | Implementation of the [`ICreateStreamProvider`](../../../aspose.html.io/icreatestreamprovider/) interface, which will be used to get an output stream. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [ImageSaveOptions](../../../aspose.html.saving/imagesaveoptions/)
* interface [ICreateStreamProvider](../../../aspose.html.io/icreatestreamprovider/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[HTMLDocument](../../../aspose.html/htmldocument/), [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/), string*) {#converthtml_8}

Convert html document to text. Result is TXT file.

```csharp
public static void ConvertHTML(HTMLDocument document, TextSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| document | HTMLDocument | Conversion source. |
| options | TextSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [HTMLDocument](../../../aspose.html/htmldocument/)
* class [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/), string*) {#converthtml_30}

Convert html document to text. Result is TXT file.

```csharp
public static void ConvertHTML(Url url, TextSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| options | TextSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*[Url](../../../aspose.html/url/), [Configuration](../../../aspose.html/configuration/), [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/), string*) {#converthtml_19}

Convert html document to text. Result is TXT file.

```csharp
public static void ConvertHTML(Url url, Configuration configuration, TextSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | Url | The document URL. |
| configuration | Configuration | The environment configuration. |
| options | TextSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Url](../../../aspose.html/url/)
* class [Configuration](../../../aspose.html/configuration/)
* class [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/), string*) {#converthtml_55}

Convert html document to text. Result is TXT file.

```csharp
public static void ConvertHTML(string sourcePath, TextSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| options | TextSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, [Configuration](../../../aspose.html/configuration/), [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/), string*) {#converthtml_44}

Convert html document to text. Result is TXT file.

```csharp
public static void ConvertHTML(string sourcePath, Configuration configuration, 
    TextSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourcePath | String | Html file source path. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | TextSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/), string*) {#converthtml_77}

Convert html document to text. Result is TXT file.

```csharp
public static void ConvertHTML(string content, string baseUri, TextSaveOptions options, 
    string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| options | TextSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)

---

## ConvertHTML(*string, string, [Configuration](../../../aspose.html/configuration/), [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/), string*) {#converthtml_66}

Convert html document to text. Result is TXT file.

```csharp
public static void ConvertHTML(string content, string baseUri, Configuration configuration, 
    TextSaveOptions options, string outputPath)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | Inline string html content. |
| baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| options | TextSaveOptions | Conversion options. |
| outputPath | String | Output file path. |

### See Also

* class [Configuration](../../../aspose.html/configuration/)
* class [TextSaveOptions](../../../aspose.html.saving/textsaveoptions/)
* class [Converter](../)
* namespace [Aspose.Html.Converters](../../../aspose.html.converters/)
* assembly [Aspose.HTML](../../../)
