convert_html method
convert_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, document, options, output_path):
...
Parameter | Type | Description |
---|---|---|
document | HTMLDocument | Conversion source HTMLDocument . |
options | aspose.html.saving.PdfSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, url, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
options | aspose.html.saving.PdfSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, source_path, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html 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_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, document, options, provider):
...
Parameter | Type | Description |
---|---|---|
document | HTMLDocument | Conversion source HTMLDocument . |
options | aspose.html.saving.PdfSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, url, options, provider):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
options | aspose.html.saving.PdfSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, source_path, options, provider):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html 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 interface, which will be used to get an output stream. |
convert_html
Convert html document to mhtml. Result is mhtml file.
def convert_html(self, document, options, output_path):
...
Parameter | Type | Description |
---|---|---|
document | HTMLDocument | Conversion source. |
options | aspose.html.saving.MHTMLSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to mhtml. Result is mhtml file.
def convert_html(self, url, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
options | aspose.html.saving.MHTMLSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to mhtml. Result is mhtml file.
def convert_html(self, source_path, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html file source path. It will be combined with the current directory path to form an absolute URL. |
options | aspose.html.saving.MHTMLSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to markdown. Result is md file.
def convert_html(self, document, options, output_path):
...
Parameter | Type | Description |
---|---|---|
document | HTMLDocument | Conversion source. |
options | aspose.html.saving.MarkdownSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source to markdown. Result is md file.
def convert_html(self, url, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
options | aspose.html.saving.MarkdownSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source to markdown. Result is md file.
def convert_html(self, source_path, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html file source path. It will be combined with the current directory path to form an absolute URL. |
options | aspose.html.saving.MarkdownSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to xps. Result is xps file.
def convert_html(self, document, options, output_path):
...
Parameter | Type | Description |
---|---|---|
document | HTMLDocument | Conversion source. |
options | aspose.html.saving.XpsSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to xps. Result is xps file.
def convert_html(self, url, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
options | aspose.html.saving.XpsSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to xps. Result is xps file.
def convert_html(self, source_path, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html 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_html
Convert html source to xps. Result is xps file.
def convert_html(self, document, options, provider):
...
Parameter | Type | Description |
---|---|---|
document | HTMLDocument | Conversion source. |
options | aspose.html.saving.XpsSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html source to xps. Result is xps file.
def convert_html(self, url, options, provider):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
options | aspose.html.saving.XpsSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html source to xps. Result is xps file.
def convert_html(self, source_path, options, provider):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html 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 interface, which will be used to get an output stream. |
convert_html
Convert html document to image. Result is image file.
def convert_html(self, document, options, output_path):
...
Parameter | Type | Description |
---|---|---|
document | HTMLDocument | Conversion source. |
options | aspose.html.saving.ImageSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to image. Result is image file.
def convert_html(self, url, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
options | aspose.html.saving.ImageSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to image. Result is image file.
def convert_html(self, source_path, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html 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_html
Convert html source to image. Result is image file.
def convert_html(self, document, options, provider):
...
Parameter | Type | Description |
---|---|---|
document | HTMLDocument | Conversion source. |
options | aspose.html.saving.ImageSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html source to image. Result is image file.
def convert_html(self, url, options, provider):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
options | aspose.html.saving.ImageSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html source to image. Result is image file.
def convert_html(self, source_path, options, provider):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html 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 interface, which will be used to get an output stream. |
convert_html
Convert html document to text. Result is TXT file.
def convert_html(self, document, options, output_path):
...
Parameter | Type | Description |
---|---|---|
document | HTMLDocument | Conversion source. |
options | aspose.html.saving.TextSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to text. Result is TXT file.
def convert_html(self, url, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
options | aspose.html.saving.TextSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to text. Result is TXT file.
def convert_html(self, source_path, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html file source path. It will be combined with the current directory path to form an absolute URL. |
options | aspose.html.saving.TextSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, document, options, output_path):
...
Parameter | Type | Description |
---|---|---|
document | HTMLDocument | Conversion source HTMLDocument . |
options | aspose.html.saving.DocSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, url, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
options | aspose.html.saving.DocSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, source_path, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | HTML 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_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, document, options, provider):
...
Parameter | Type | Description |
---|---|---|
document | HTMLDocument | Conversion source HTMLDocument . |
options | aspose.html.saving.DocSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, url, options, provider):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
options | aspose.html.saving.DocSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, source_path, options, provider):
...
Parameter | Type | Description |
---|---|---|
source_path | str | HTML 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 interface, which will be used to get an output stream. |
convert_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, url, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.PdfSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, source_path, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html file source path. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.PdfSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, content, base_uri, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, url, configuration, options, provider):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.PdfSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, source_path, configuration, options, provider):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html file source path. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.PdfSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, content, base_uri, options, provider):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 interface, which will be used to get an output stream. |
convert_html
Convert html document to mhtml. Result is mhtml file.
def convert_html(self, url, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.MHTMLSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to mhtml. Result is mhtml file.
def convert_html(self, source_path, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html file source path. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.MHTMLSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to mhtml. Result is mhtml file.
def convert_html(self, content, base_uri, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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.MHTMLSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source to markdown. Result is md file.
def convert_html(self, url, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.MarkdownSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source to markdown. Result is md file.
def convert_html(self, source_path, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html file source path. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.MarkdownSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source to markdown. Result is md file.
def convert_html(self, content, base_uri, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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.MarkdownSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to xps. Result is xps file.
def convert_html(self, url, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.XpsSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to xps. Result is xps file.
def convert_html(self, source_path, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html file source path. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.XpsSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to xps. Result is xps file.
def convert_html(self, content, base_uri, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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_html
Convert html source to xps. Result is xps file.
def convert_html(self, url, configuration, options, provider):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.XpsSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html source to xps. Result is xps file.
def convert_html(self, source_path, configuration, options, provider):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html file source path. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.XpsSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html source to xps. Result is xps file.
def convert_html(self, content, base_uri, options, provider):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 interface, which will be used to get an output stream. |
convert_html
Convert html document to image. Result is image file.
def convert_html(self, url, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.ImageSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to image. Result is image file.
def convert_html(self, source_path, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html file source path. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.ImageSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to image. Result is image file.
def convert_html(self, content, base_uri, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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_html
Convert html source to image. Result is image file.
def convert_html(self, url, configuration, options, provider):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.ImageSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html source to image. Result is image file.
def convert_html(self, source_path, configuration, options, provider):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html file source path. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.ImageSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html source to image. Result is image file.
def convert_html(self, content, base_uri, options, provider):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 interface, which will be used to get an output stream. |
convert_html
Convert html document to text. Result is TXT file.
def convert_html(self, url, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.TextSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to text. Result is TXT file.
def convert_html(self, source_path, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | Html file source path. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.TextSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to text. Result is TXT file.
def convert_html(self, content, base_uri, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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.TextSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, url, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.DocSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, source_path, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
source_path | str | HTML file source path. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.DocSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, content, base_uri, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string HTML 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_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, url, configuration, options, provider):
...
Parameter | Type | Description |
---|---|---|
url | Url | The document URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.DocSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, source_path, configuration, options, provider):
...
Parameter | Type | Description |
---|---|---|
source_path | str | HTML file source path. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
options | aspose.html.saving.DocSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, content, base_uri, options, provider):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string HTML 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 interface, which will be used to get an output stream. |
convert_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, content, base_uri, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 | The environment configuration. |
options | aspose.html.saving.PdfSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source document to PDF. Result is pdf file.
def convert_html(self, content, base_uri, configuration, options, provider):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 | The environment configuration. |
options | aspose.html.saving.PdfSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html document to mhtml. Result is mhtml file.
def convert_html(self, content, base_uri, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 | The environment configuration. |
options | aspose.html.saving.MHTMLSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source to markdown. Result is md file.
def convert_html(self, content, base_uri, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 | The environment configuration. |
options | aspose.html.saving.MarkdownSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html document to xps. Result is xps file.
def convert_html(self, content, base_uri, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 | The environment configuration. |
options | aspose.html.saving.XpsSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source to xps. Result is xps file.
def convert_html(self, content, base_uri, configuration, options, provider):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 | The environment configuration. |
options | aspose.html.saving.XpsSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html document to image. Result is image file.
def convert_html(self, content, base_uri, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 | The environment configuration. |
options | aspose.html.saving.ImageSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert html source to image. Result is image file.
def convert_html(self, content, base_uri, configuration, options, provider):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 | The environment configuration. |
options | aspose.html.saving.ImageSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
convert_html
Convert html document to text. Result is TXT file.
def convert_html(self, content, base_uri, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 | The environment configuration. |
options | aspose.html.saving.TextSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, content, base_uri, configuration, options, output_path):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string html 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 | The environment configuration. |
options | aspose.html.saving.DocSaveOptions | Conversion options. |
output_path | str | Output file path. |
convert_html
Convert HTML source document to DOCX. Result is docx file.
def convert_html(self, content, base_uri, configuration, options, provider):
...
Parameter | Type | Description |
---|---|---|
content | str | Inline string HTML 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 | The environment configuration. |
options | aspose.html.saving.DocSaveOptions | Conversion options. |
provider | aspose.html.io.ICreateStreamProvider | Implementation of the ICreateStreamProvider interface, which will be used to get an output stream. |
See Also
- module
aspose.html.converters
- class
Converter
- class
HTMLDocument
- class
ICreateStreamProvider