convert_html method

convert_html

Convert html source document to PDF. Result is pdf file.

def convert_html(self, document, options, output_path):
    ...
ParameterTypeDescription
documentHTMLDocumentConversion source HTMLDocument.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source document to PDF. Result is pdf file.

def convert_html(self, url, options, output_path):
    ...
ParameterTypeDescription
urlUrlThe document URL.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source document to PDF. Result is pdf file.

def convert_html(self, source_path, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source document to PDF. Result is pdf file.

def convert_html(self, document, options, provider):
    ...
ParameterTypeDescription
documentHTMLDocumentConversion source HTMLDocument.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
urlUrlThe document URL.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
documentHTMLDocumentConversion source.
optionsaspose.html.saving.MHTMLSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to mhtml. Result is mhtml file.

def convert_html(self, url, options, output_path):
    ...
ParameterTypeDescription
urlUrlThe document URL.
optionsaspose.html.saving.MHTMLSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to mhtml. Result is mhtml file.

def convert_html(self, source_path, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.MHTMLSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to markdown. Result is md file.

def convert_html(self, document, options, output_path):
    ...
ParameterTypeDescription
documentHTMLDocumentConversion source.
optionsaspose.html.saving.MarkdownSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source to markdown. Result is md file.

def convert_html(self, url, options, output_path):
    ...
ParameterTypeDescription
urlUrlThe document URL.
optionsaspose.html.saving.MarkdownSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source to markdown. Result is md file.

def convert_html(self, source_path, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.MarkdownSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to xps. Result is xps file.

def convert_html(self, document, options, output_path):
    ...
ParameterTypeDescription
documentHTMLDocumentConversion source.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to xps. Result is xps file.

def convert_html(self, url, options, output_path):
    ...
ParameterTypeDescription
urlUrlThe document URL.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to xps. Result is xps file.

def convert_html(self, source_path, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source to xps. Result is xps file.

def convert_html(self, document, options, provider):
    ...
ParameterTypeDescription
documentHTMLDocumentConversion source.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
urlUrlThe document URL.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
documentHTMLDocumentConversion source.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to image. Result is image file.

def convert_html(self, url, options, output_path):
    ...
ParameterTypeDescription
urlUrlThe document URL.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to image. Result is image file.

def convert_html(self, source_path, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source to image. Result is image file.

def convert_html(self, document, options, provider):
    ...
ParameterTypeDescription
documentHTMLDocumentConversion source.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
urlUrlThe document URL.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
documentHTMLDocumentConversion source.
optionsaspose.html.saving.TextSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to text. Result is TXT file.

def convert_html(self, url, options, output_path):
    ...
ParameterTypeDescription
urlUrlThe document URL.
optionsaspose.html.saving.TextSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to text. Result is TXT file.

def convert_html(self, source_path, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.TextSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert HTML source document to DOCX. Result is docx file.

def convert_html(self, document, options, output_path):
    ...
ParameterTypeDescription
documentHTMLDocumentConversion source HTMLDocument.
optionsaspose.html.saving.DocSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert HTML source document to DOCX. Result is docx file.

def convert_html(self, url, options, output_path):
    ...
ParameterTypeDescription
urlUrlThe document URL.
optionsaspose.html.saving.DocSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert HTML source document to DOCX. Result is docx file.

def convert_html(self, source_path, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHTML file source path. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.DocSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert HTML source document to DOCX. Result is docx file.

def convert_html(self, document, options, provider):
    ...
ParameterTypeDescription
documentHTMLDocumentConversion source HTMLDocument.
optionsaspose.html.saving.DocSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
urlUrlThe document URL.
optionsaspose.html.saving.DocSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
source_pathstrHTML file source path. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.DocSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source document to PDF. Result is pdf file.

def convert_html(self, source_path, configuration, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source document to PDF. Result is pdf file.

def convert_html(self, content, base_uri, options, output_path):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source document to PDF. Result is pdf file.

def convert_html(self, url, configuration, options, provider):
    ...
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.MHTMLSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to mhtml. Result is mhtml file.

def convert_html(self, source_path, configuration, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.MHTMLSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to mhtml. Result is mhtml file.

def convert_html(self, content, base_uri, options, output_path):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.MHTMLSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source to markdown. Result is md file.

def convert_html(self, url, configuration, options, output_path):
    ...
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.MarkdownSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source to markdown. Result is md file.

def convert_html(self, source_path, configuration, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.MarkdownSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source to markdown. Result is md file.

def convert_html(self, content, base_uri, options, output_path):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.MarkdownSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to xps. Result is xps file.

def convert_html(self, url, configuration, options, output_path):
    ...
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to xps. Result is xps file.

def convert_html(self, source_path, configuration, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to xps. Result is xps file.

def convert_html(self, content, base_uri, options, output_path):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source to xps. Result is xps file.

def convert_html(self, url, configuration, options, provider):
    ...
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to image. Result is image file.

def convert_html(self, source_path, configuration, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to image. Result is image file.

def convert_html(self, content, base_uri, options, output_path):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source to image. Result is image file.

def convert_html(self, url, configuration, options, provider):
    ...
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.TextSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to text. Result is TXT file.

def convert_html(self, source_path, configuration, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHtml file source path. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.TextSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to text. Result is TXT file.

def convert_html(self, content, base_uri, options, output_path):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.TextSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert HTML source document to DOCX. Result is docx file.

def convert_html(self, url, configuration, options, output_path):
    ...
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.DocSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert HTML source document to DOCX. Result is docx file.

def convert_html(self, source_path, configuration, options, output_path):
    ...
ParameterTypeDescription
source_pathstrHTML file source path. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.DocSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert HTML source document to DOCX. Result is docx file.

def convert_html(self, content, base_uri, options, output_path):
    ...
ParameterTypeDescription
contentstrInline string HTML content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.DocSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert HTML source document to DOCX. Result is docx file.

def convert_html(self, url, configuration, options, provider):
    ...
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.DocSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
source_pathstrHTML file source path. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.DocSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
contentstrInline string HTML content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
optionsaspose.html.saving.DocSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source document to PDF. Result is pdf file.

def convert_html(self, content, base_uri, configuration, options, provider):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.PdfSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.MHTMLSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source to markdown. Result is md file.

def convert_html(self, content, base_uri, configuration, options, output_path):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.MarkdownSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html document to xps. Result is xps file.

def convert_html(self, content, base_uri, configuration, options, output_path):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source to xps. Result is xps file.

def convert_html(self, content, base_uri, configuration, options, provider):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.XpsSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert html source to image. Result is image file.

def convert_html(self, content, base_uri, configuration, options, provider):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.ImageSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation 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):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.TextSaveOptionsConversion options.
output_pathstrOutput 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):
    ...
ParameterTypeDescription
contentstrInline string html content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.DocSaveOptionsConversion options.
output_pathstrOutput file path.

convert_html

Convert HTML source document to DOCX. Result is docx file.

def convert_html(self, content, base_uri, configuration, options, provider):
    ...
ParameterTypeDescription
contentstrInline string HTML content.
base_uristrThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.
optionsaspose.html.saving.DocSaveOptionsConversion options.
provideraspose.html.io.ICreateStreamProviderImplementation of the ICreateStreamProvider interface, which will be used to get an output stream.

See Also