Class Converter
Namespace: Aspose.Html.Converters
Assembly: Aspose.HTML.dll (25.2.0)
Shared facade only for most often conversion scenarios. It provides a wide range of conversions to the popular formats, such as PDF, XPS, image formats, etc. More specific conversion (rendering, saving) user cases are presented by well known and documented low level API functions.
[ComVisible(true)]
public static class Converter
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
ConvertEPUB(Stream, XpsSaveOptions, string)
Convert epub source to xps. Result is xps file.
public static void ConvertEPUB(Stream stream, XpsSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(string, XpsSaveOptions, string)
Convert epub source to xps. Result is xps file.
public static void ConvertEPUB(string sourcePath, XpsSaveOptions options, string outputPath)
Parameters
sourcePath
string
EPUB source file path. It will be combined with the current directory path to form an absolute URL.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(Url, XpsSaveOptions, string)
Convert epub source to xps. Result is xps file.
public static void ConvertEPUB(Url sourceUrl, XpsSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(Stream, Configuration, XpsSaveOptions, string)
Convert epub source to xps. Result is xps file.
public static void ConvertEPUB(Stream stream, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source.
configuration
Configuration
The environment configuration.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(string, Configuration, XpsSaveOptions, string)
Convert epub source to xps. Result is xps file.
public static void ConvertEPUB(string sourcePath, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
sourcePath
string
EPUB source file 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.
ConvertEPUB(Url, Configuration, XpsSaveOptions, string)
Convert epub source to xps. Result is xps file.
public static void ConvertEPUB(Url sourceUrl, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(Stream, XpsSaveOptions, ICreateStreamProvider)
Convert epub source to xps. Result is xps file.
public static void ConvertEPUB(Stream stream, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(string, XpsSaveOptions, ICreateStreamProvider)
Convert epub source to xps. Result is xps file.
public static void ConvertEPUB(string sourcePath, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
EPUB source file path. It will be combined with the current directory path to form an absolute URL.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Url, XpsSaveOptions, ICreateStreamProvider)
Convert epub source to xps. Result is xps file.
public static void ConvertEPUB(Url sourceUrl, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Stream, Configuration, XpsSaveOptions, ICreateStreamProvider)
Convert epub source to xps. Result is xps file.
public static void ConvertEPUB(Stream stream, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source.
configuration
Configuration
The environment configuration.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(string, Configuration, XpsSaveOptions, ICreateStreamProvider)
Convert epub source to xps. Result is xps file.
public static void ConvertEPUB(string sourcePath, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
EPUB source file 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Url, Configuration, XpsSaveOptions, ICreateStreamProvider)
Convert epub source to xps. Result is xps file.
public static void ConvertEPUB(Url sourceUrl, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Stream, DocSaveOptions, string)
Convert EPUB source to DOCX. Result is docx file.
public static void ConvertEPUB(Stream stream, DocSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(string, DocSaveOptions, string)
Convert EPUB source to DOCX. Result is docx file.
public static void ConvertEPUB(string sourcePath, DocSaveOptions options, string outputPath)
Parameters
sourcePath
string
EPUB source file path. It will be combined with the current directory path to form an absolute URL.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(Url, DocSaveOptions, string)
Convert EPUB source to DOCX. Result is docx file.
public static void ConvertEPUB(Url sourceUrl, DocSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(Stream, Configuration, DocSaveOptions, string)
Convert EPUB source to DOCX. Result is docx file.
public static void ConvertEPUB(Stream stream, Configuration configuration, DocSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source.
configuration
Configuration
The environment configuration.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(string, Configuration, DocSaveOptions, string)
Convert EPUB source to DOCX. Result is docx file.
public static void ConvertEPUB(string sourcePath, Configuration configuration, DocSaveOptions options, string outputPath)
Parameters
sourcePath
string
EPUB source file 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.
ConvertEPUB(Url, Configuration, DocSaveOptions, string)
Convert EPUB source to DOCX. Result is docx file.
public static void ConvertEPUB(Url sourceUrl, Configuration configuration, DocSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(Stream, DocSaveOptions, ICreateStreamProvider)
Convert EPUB source to DOCX. Result is docx file.
public static void ConvertEPUB(Stream stream, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(string, DocSaveOptions, ICreateStreamProvider)
Convert EPUB source to DOCX. Result is docx file.
public static void ConvertEPUB(string sourcePath, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
EPUB source file path. It will be combined with the current directory path to form an absolute URL.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Url, DocSaveOptions, ICreateStreamProvider)
Convert EPUB source to DOCX. Result is docx file.
public static void ConvertEPUB(Url sourceUrl, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Stream, Configuration, DocSaveOptions, ICreateStreamProvider)
Convert EPUB source to DOCX. Result is docx file.
public static void ConvertEPUB(Stream stream, Configuration configuration, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source.
configuration
Configuration
The environment configuration.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(string, Configuration, DocSaveOptions, ICreateStreamProvider)
Convert EPUB source to DOCX. Result is docx file.
public static void ConvertEPUB(string sourcePath, Configuration configuration, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
EPUB source file 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Url, Configuration, DocSaveOptions, ICreateStreamProvider)
Convert EPUB source to DOCX. Result is docx file.
public static void ConvertEPUB(Url sourceUrl, Configuration configuration, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Stream, PdfSaveOptions, string)
Convert epub source to pdf. Result is pdf file.
public static void ConvertEPUB(Stream stream, PdfSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(string, PdfSaveOptions, string)
Convert epub source to pdf. Result is pdf file.
public static void ConvertEPUB(string sourcePath, PdfSaveOptions options, string outputPath)
Parameters
sourcePath
string
EPUB source file path. It will be combined with the current directory path to form an absolute URL.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(Url, PdfSaveOptions, string)
Convert epub source to pdf. Result is pdf file.
public static void ConvertEPUB(Url sourceUrl, PdfSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(Stream, Configuration, PdfSaveOptions, string)
Convert epub source to pdf. Result is pdf file.
public static void ConvertEPUB(Stream stream, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source.
configuration
Configuration
The environment configuration.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(string, Configuration, PdfSaveOptions, string)
Convert epub source to pdf. Result is pdf file.
public static void ConvertEPUB(string sourcePath, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
sourcePath
string
EPUB source file 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.
ConvertEPUB(Url, Configuration, PdfSaveOptions, string)
Convert epub source to pdf. Result is pdf file.
public static void ConvertEPUB(Url sourceUrl, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(Stream, PdfSaveOptions, ICreateStreamProvider)
Convert epub source to pdf. Result is pdf file.
public static void ConvertEPUB(Stream stream, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(string, PdfSaveOptions, ICreateStreamProvider)
Convert epub source to pdf. Result is pdf file.
public static void ConvertEPUB(string sourcePath, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
EPUB source file path. It will be combined with the current directory path to form an absolute URL.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Url, PdfSaveOptions, ICreateStreamProvider)
Convert epub source to pdf. Result is pdf file.
public static void ConvertEPUB(Url sourceUrl, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Stream, Configuration, PdfSaveOptions, ICreateStreamProvider)
Convert epub source to pdf. Result is pdf file.
public static void ConvertEPUB(Stream stream, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source.
configuration
Configuration
The environment configuration.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(string, Configuration, PdfSaveOptions, ICreateStreamProvider)
Convert epub source to pdf. Result is pdf file.
public static void ConvertEPUB(string sourcePath, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
EPUB source file 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Url, Configuration, PdfSaveOptions, ICreateStreamProvider)
Convert epub source to pdf. Result is pdf file.
public static void ConvertEPUB(Url sourceUrl, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Stream, ImageSaveOptions, string)
Convert epub source to image. Result is image file.
public static void ConvertEPUB(Stream stream, ImageSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(string, ImageSaveOptions, string)
Convert epub source to image. Result is image file.
public static void ConvertEPUB(string sourcePath, ImageSaveOptions options, string outputPath)
Parameters
sourcePath
string
EPUB source file path. It will be combined with the current directory path to form an absolute URL.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(Url, ImageSaveOptions, string)
Convert epub source to image. Result is image file.
public static void ConvertEPUB(Url sourceUrl, ImageSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(Stream, Configuration, ImageSaveOptions, string)
Convert epub source to image. Result is image file.
public static void ConvertEPUB(Stream stream, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source.
configuration
Configuration
The environment configuration.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(string, Configuration, ImageSaveOptions, string)
Convert epub source to image. Result is image file.
public static void ConvertEPUB(string sourcePath, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
sourcePath
string
EPUB source file 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.
ConvertEPUB(Url, Configuration, ImageSaveOptions, string)
Convert epub source to image. Result is image file.
public static void ConvertEPUB(Url sourceUrl, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertEPUB(Stream, ImageSaveOptions, ICreateStreamProvider)
Convert epub source to image. Result is image file.
public static void ConvertEPUB(Stream stream, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(string, ImageSaveOptions, ICreateStreamProvider)
Convert epub source to image. Result is image file.
public static void ConvertEPUB(string sourcePath, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
EPUB source file path. It will be combined with the current directory path to form an absolute URL.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Url, ImageSaveOptions, ICreateStreamProvider)
Convert epub source to image. Result is image file.
public static void ConvertEPUB(Url sourceUrl, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Stream, Configuration, ImageSaveOptions, ICreateStreamProvider)
Convert epub source to image. Result is image file.
public static void ConvertEPUB(Stream stream, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source.
configuration
Configuration
The environment configuration.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(string, Configuration, ImageSaveOptions, ICreateStreamProvider)
Convert epub source to image. Result is image file.
public static void ConvertEPUB(string sourcePath, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
EPUB source file 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertEPUB(Url, Configuration, ImageSaveOptions, ICreateStreamProvider)
Convert epub source to image. Result is image file.
public static void ConvertEPUB(Url sourceUrl, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(HTMLDocument, PdfSaveOptions, string)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(HTMLDocument document, PdfSaveOptions options, string outputPath)
Parameters
document
HTMLDocument
Conversion source Aspose.Html.HTMLDocument.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, PdfSaveOptions, string)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(Url url, PdfSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, Configuration, PdfSaveOptions, string)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(Url url, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(string, PdfSaveOptions, string)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(string sourcePath, PdfSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, Configuration, PdfSaveOptions, string)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(string sourcePath, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, PdfSaveOptions, string)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(string content, string baseUri, PdfSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, Configuration, PdfSaveOptions, string)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(string content, string baseUri, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(HTMLDocument, PdfSaveOptions, ICreateStreamProvider)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(HTMLDocument document, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
document
HTMLDocument
Conversion source Aspose.Html.HTMLDocument.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(Url, PdfSaveOptions, ICreateStreamProvider)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(Url url, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(Url, Configuration, PdfSaveOptions, ICreateStreamProvider)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(Url url, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, PdfSaveOptions, ICreateStreamProvider)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(string sourcePath, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, Configuration, PdfSaveOptions, ICreateStreamProvider)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(string sourcePath, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, string, PdfSaveOptions, ICreateStreamProvider)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(string content, string baseUri, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, string, Configuration, PdfSaveOptions, ICreateStreamProvider)
Convert html source document to PDF. Result is pdf file.
public static void ConvertHTML(string content, string baseUri, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(HTMLDocument, MHTMLSaveOptions, string)
Convert html document to mhtml. Result is mhtml file.
public static void ConvertHTML(HTMLDocument document, MHTMLSaveOptions options, string outputPath)
Parameters
document
HTMLDocument
Conversion source.
options
MHTMLSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, MHTMLSaveOptions, string)
Convert html document to mhtml. Result is mhtml file.
public static void ConvertHTML(Url url, MHTMLSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
options
MHTMLSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, Configuration, MHTMLSaveOptions, string)
Convert html document to mhtml. Result is mhtml file.
public static void ConvertHTML(Url url, Configuration configuration, MHTMLSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
MHTMLSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(string, MHTMLSaveOptions, string)
Convert html document to mhtml. Result is mhtml file.
public static void ConvertHTML(string sourcePath, MHTMLSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, Configuration, MHTMLSaveOptions, string)
Convert html document to mhtml. Result is mhtml file.
public static void ConvertHTML(string sourcePath, Configuration configuration, MHTMLSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, MHTMLSaveOptions, string)
Convert html document to mhtml. Result is mhtml file.
public static void ConvertHTML(string content, string baseUri, MHTMLSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, Configuration, MHTMLSaveOptions, string)
Convert html document to mhtml. Result is mhtml file.
public static void ConvertHTML(string content, string baseUri, Configuration configuration, MHTMLSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(HTMLDocument, MarkdownSaveOptions, string)
Convert html document to markdown. Result is md file.
public static void ConvertHTML(HTMLDocument document, MarkdownSaveOptions options, string outputPath)
Parameters
document
HTMLDocument
Conversion source.
options
MarkdownSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, MarkdownSaveOptions, string)
Convert html source to markdown. Result is md file.
public static void ConvertHTML(Url url, MarkdownSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
options
MarkdownSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, Configuration, MarkdownSaveOptions, string)
Convert html source to markdown. Result is md file.
public static void ConvertHTML(Url url, Configuration configuration, MarkdownSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
MarkdownSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(string, MarkdownSaveOptions, string)
Convert html source to markdown. Result is md file.
public static void ConvertHTML(string sourcePath, MarkdownSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, Configuration, MarkdownSaveOptions, string)
Convert html source to markdown. Result is md file.
public static void ConvertHTML(string sourcePath, Configuration configuration, MarkdownSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, MarkdownSaveOptions, string)
Convert html source to markdown. Result is md file.
public static void ConvertHTML(string content, string baseUri, MarkdownSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, Configuration, MarkdownSaveOptions, string)
Convert html source to markdown. Result is md file.
public static void ConvertHTML(string content, string baseUri, Configuration configuration, MarkdownSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(HTMLDocument, XpsSaveOptions, string)
Convert html document to xps. Result is xps file.
public static void ConvertHTML(HTMLDocument document, XpsSaveOptions options, string outputPath)
Parameters
document
HTMLDocument
Conversion source.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, XpsSaveOptions, string)
Convert html document to xps. Result is xps file.
public static void ConvertHTML(Url url, XpsSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, Configuration, XpsSaveOptions, string)
Convert html document to xps. Result is xps file.
public static void ConvertHTML(Url url, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(string, XpsSaveOptions, string)
Convert html document to xps. Result is xps file.
public static void ConvertHTML(string sourcePath, XpsSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, Configuration, XpsSaveOptions, string)
Convert html document to xps. Result is xps file.
public static void ConvertHTML(string sourcePath, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, XpsSaveOptions, string)
Convert html document to xps. Result is xps file.
public static void ConvertHTML(string content, string baseUri, XpsSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, Configuration, XpsSaveOptions, string)
Convert html document to xps. Result is xps file.
public static void ConvertHTML(string content, string baseUri, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(HTMLDocument, XpsSaveOptions, ICreateStreamProvider)
Convert html source to xps. Result is xps file.
public static void ConvertHTML(HTMLDocument document, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
document
HTMLDocument
Conversion source.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(Url, XpsSaveOptions, ICreateStreamProvider)
Convert html source to xps. Result is xps file.
public static void ConvertHTML(Url url, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(Url, Configuration, XpsSaveOptions, ICreateStreamProvider)
Convert html source to xps. Result is xps file.
public static void ConvertHTML(Url url, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, XpsSaveOptions, ICreateStreamProvider)
Convert html source to xps. Result is xps file.
public static void ConvertHTML(string sourcePath, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, Configuration, XpsSaveOptions, ICreateStreamProvider)
Convert html source to xps. Result is xps file.
public static void ConvertHTML(string sourcePath, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, string, XpsSaveOptions, ICreateStreamProvider)
Convert html source to xps. Result is xps file.
public static void ConvertHTML(string content, string baseUri, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, string, Configuration, XpsSaveOptions, ICreateStreamProvider)
Convert html source to xps. Result is xps file.
public static void ConvertHTML(string content, string baseUri, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(HTMLDocument, ImageSaveOptions, string)
Convert html document to image. Result is image file.
public static void ConvertHTML(HTMLDocument document, ImageSaveOptions options, string outputPath)
Parameters
document
HTMLDocument
Conversion source.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, ImageSaveOptions, string)
Convert html document to image. Result is image file.
public static void ConvertHTML(Url url, ImageSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, Configuration, ImageSaveOptions, string)
Convert html document to image. Result is image file.
public static void ConvertHTML(Url url, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(string, ImageSaveOptions, string)
Convert html document to image. Result is image file.
public static void ConvertHTML(string sourcePath, ImageSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, Configuration, ImageSaveOptions, string)
Convert html document to image. Result is image file.
public static void ConvertHTML(string sourcePath, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, ImageSaveOptions, string)
Convert html document to image. Result is image file.
public static void ConvertHTML(string content, string baseUri, ImageSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, Configuration, ImageSaveOptions, string)
Convert html document to image. Result is image file.
public static void ConvertHTML(string content, string baseUri, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(HTMLDocument, ImageSaveOptions, ICreateStreamProvider)
Convert html source to image. Result is image file.
public static void ConvertHTML(HTMLDocument document, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
document
HTMLDocument
Conversion source.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(Url, ImageSaveOptions, ICreateStreamProvider)
Convert html source to image. Result is image file.
public static void ConvertHTML(Url url, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(Url, Configuration, ImageSaveOptions, ICreateStreamProvider)
Convert html source to image. Result is image file.
public static void ConvertHTML(Url url, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, ImageSaveOptions, ICreateStreamProvider)
Convert html source to image. Result is image file.
public static void ConvertHTML(string sourcePath, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, Configuration, ImageSaveOptions, ICreateStreamProvider)
Convert html source to image. Result is image file.
public static void ConvertHTML(string sourcePath, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, string, ImageSaveOptions, ICreateStreamProvider)
Convert html source to image. Result is image file.
public static void ConvertHTML(string content, string baseUri, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, string, Configuration, ImageSaveOptions, ICreateStreamProvider)
Convert html source to image. Result is image file.
public static void ConvertHTML(string content, string baseUri, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(HTMLDocument, TextSaveOptions, string)
Convert html document to text. Result is TXT file.
public static void ConvertHTML(HTMLDocument document, TextSaveOptions options, string outputPath)
Parameters
document
HTMLDocument
Conversion source.
options
TextSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, TextSaveOptions, string)
Convert html document to text. Result is TXT file.
public static void ConvertHTML(Url url, TextSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
options
TextSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, Configuration, TextSaveOptions, string)
Convert html document to text. Result is TXT file.
public static void ConvertHTML(Url url, Configuration configuration, TextSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
TextSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(string, TextSaveOptions, string)
Convert html document to text. Result is TXT file.
public static void ConvertHTML(string sourcePath, TextSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, Configuration, TextSaveOptions, string)
Convert html document to text. Result is TXT file.
public static void ConvertHTML(string sourcePath, Configuration configuration, TextSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, TextSaveOptions, string)
Convert html document to text. Result is TXT file.
public static void ConvertHTML(string content, string baseUri, TextSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, Configuration, TextSaveOptions, string)
Convert html document to text. Result is TXT file.
public static void ConvertHTML(string content, string baseUri, Configuration configuration, TextSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(HTMLDocument, DocSaveOptions, string)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(HTMLDocument document, DocSaveOptions options, string outputPath)
Parameters
document
HTMLDocument
Conversion source Aspose.Html.HTMLDocument.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, DocSaveOptions, string)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(Url url, DocSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(Url, Configuration, DocSaveOptions, string)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(Url url, Configuration configuration, DocSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertHTML(string, DocSaveOptions, string)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(string sourcePath, DocSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, Configuration, DocSaveOptions, string)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(string sourcePath, Configuration configuration, DocSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, DocSaveOptions, string)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(string content, string baseUri, DocSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(string, string, Configuration, DocSaveOptions, string)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(string content, string baseUri, Configuration configuration, DocSaveOptions options, string outputPath)
Parameters
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.
ConvertHTML(HTMLDocument, DocSaveOptions, ICreateStreamProvider)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(HTMLDocument document, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
document
HTMLDocument
Conversion source Aspose.Html.HTMLDocument.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(Url, DocSaveOptions, ICreateStreamProvider)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(Url url, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(Url, Configuration, DocSaveOptions, ICreateStreamProvider)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(Url url, Configuration configuration, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, DocSaveOptions, ICreateStreamProvider)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(string sourcePath, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, Configuration, DocSaveOptions, ICreateStreamProvider)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(string sourcePath, Configuration configuration, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, string, DocSaveOptions, ICreateStreamProvider)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(string content, string baseUri, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertHTML(string, string, Configuration, DocSaveOptions, ICreateStreamProvider)
Convert HTML source document to DOCX. Result is docx file.
public static void ConvertHTML(string content, string baseUri, Configuration configuration, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Stream, XpsSaveOptions, string)
Convert mhtml source to xps. Result is xps file.
public static void ConvertMHTML(Stream stream, XpsSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source stream.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(string, XpsSaveOptions, string)
Convert mhtml source to xps. Result is xps file.
public static void ConvertMHTML(string sourcePath, XpsSaveOptions options, string outputPath)
Parameters
sourcePath
string
MHTML source file path. It will be combined with the current directory path to form an absolute URL.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(Url, XpsSaveOptions, string)
Convert mhtml source to xps. Result is xps file.
public static void ConvertMHTML(Url sourceUrl, XpsSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(Stream, Configuration, XpsSaveOptions, string)
Convert mhtml source to xps. Result is xps file.
public static void ConvertMHTML(Stream stream, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source stream.
configuration
Configuration
The environment configuration.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(string, Configuration, XpsSaveOptions, string)
Convert mhtml source to xps. Result is xps file.
public static void ConvertMHTML(string sourcePath, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
sourcePath
string
MHTML source file 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.
ConvertMHTML(Url, Configuration, XpsSaveOptions, string)
Convert mhtml source to xps. Result is xps file.
public static void ConvertMHTML(Url sourceUrl, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(Stream, XpsSaveOptions, ICreateStreamProvider)
Convert mhtml source to xps. Result is xps file.
public static void ConvertMHTML(Stream stream, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source stream.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(string, XpsSaveOptions, ICreateStreamProvider)
Convert mhtml source to xps. Result is xps file.
public static void ConvertMHTML(string sourcePath, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
MHTML source file path. It will be combined with the current directory path to form an absolute URL.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Url, XpsSaveOptions, ICreateStreamProvider)
Convert mhtml source to xps. Result is xps file.
public static void ConvertMHTML(Url sourceUrl, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Stream, Configuration, XpsSaveOptions, ICreateStreamProvider)
Convert mhtml source to xps. Result is xps file.
public static void ConvertMHTML(Stream stream, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source stream.
configuration
Configuration
The environment configuration.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(string, Configuration, XpsSaveOptions, ICreateStreamProvider)
Convert mhtml source to xps. Result is xps file.
public static void ConvertMHTML(string sourcePath, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
MHTML source file 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Url, Configuration, XpsSaveOptions, ICreateStreamProvider)
Convert mhtml source to xps. Result is xps file.
public static void ConvertMHTML(Url sourceUrl, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Stream, DocSaveOptions, string)
Convert MHTML source to DOCX. Result is docx file.
public static void ConvertMHTML(Stream stream, DocSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source stream.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(string, DocSaveOptions, string)
Convert MHTML source to DOCX. Result is docx file.
public static void ConvertMHTML(string sourcePath, DocSaveOptions options, string outputPath)
Parameters
sourcePath
string
MHTML source file path. It will be combined with the current directory path to form an absolute URL.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(Url, DocSaveOptions, string)
Convert MHTML source to DOCX. Result is docx file.
public static void ConvertMHTML(Url sourceUrl, DocSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(Stream, Configuration, DocSaveOptions, string)
Convert MHTML source to DOCX. Result is docx file.
public static void ConvertMHTML(Stream stream, Configuration configuration, DocSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source stream.
configuration
Configuration
The environment configuration.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(string, Configuration, DocSaveOptions, string)
Convert MHTML source to DOCX. Result is docx file.
public static void ConvertMHTML(string sourcePath, Configuration configuration, DocSaveOptions options, string outputPath)
Parameters
sourcePath
string
MHTML source file 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.
ConvertMHTML(Url, Configuration, DocSaveOptions, string)
Convert MHTML source to DOCX. Result is docx file.
public static void ConvertMHTML(Url sourceUrl, Configuration configuration, DocSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(Stream, DocSaveOptions, ICreateStreamProvider)
Convert MHTML source to DOCX. Result is docx file.
public static void ConvertMHTML(Stream stream, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source stream.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(string, DocSaveOptions, ICreateStreamProvider)
Convert MHTML source to DOCX. Result is docx file.
public static void ConvertMHTML(string sourcePath, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
MHTML source file path. It will be combined with the current directory path to form an absolute URL.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Url, DocSaveOptions, ICreateStreamProvider)
Convert MHTML source to DOCX. Result is docx file.
public static void ConvertMHTML(Url sourceUrl, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Stream, Configuration, DocSaveOptions, ICreateStreamProvider)
Convert MHTML source to DOCX. Result is docx file.
public static void ConvertMHTML(Stream stream, Configuration configuration, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source stream.
configuration
Configuration
The environment configuration.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(string, Configuration, DocSaveOptions, ICreateStreamProvider)
Convert MHTML source to DOCX. Result is docx file.
public static void ConvertMHTML(string sourcePath, Configuration configuration, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
MHTML source file 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Url, Configuration, DocSaveOptions, ICreateStreamProvider)
Convert MHTML source to DOCX. Result is docx file.
public static void ConvertMHTML(Url sourceUrl, Configuration configuration, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Stream, PdfSaveOptions, string)
Convert mhtml source to pdf. Result is pdf file.
public static void ConvertMHTML(Stream stream, PdfSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source stream.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(string, PdfSaveOptions, string)
Convert mhtml source to pdf. Result is pdf file.
public static void ConvertMHTML(string sourcePath, PdfSaveOptions options, string outputPath)
Parameters
sourcePath
string
MHTML source file path. It will be combined with the current directory path to form an absolute URL.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(Url, PdfSaveOptions, string)
Convert mhtml source to pdf. Result is pdf file.
public static void ConvertMHTML(Url sourceUrl, PdfSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(Stream, Configuration, PdfSaveOptions, string)
Convert mhtml source to pdf. Result is pdf file.
public static void ConvertMHTML(Stream stream, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source stream.
configuration
Configuration
The environment configuration.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(string, Configuration, PdfSaveOptions, string)
Convert mhtml source to pdf. Result is pdf file.
public static void ConvertMHTML(string sourcePath, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
sourcePath
string
MHTML source file 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.
ConvertMHTML(Url, Configuration, PdfSaveOptions, string)
Convert mhtml source to pdf. Result is pdf file.
public static void ConvertMHTML(Url sourceUrl, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(Stream, PdfSaveOptions, ICreateStreamProvider)
Convert mhtml source to pdf. Result is pdf file.
public static void ConvertMHTML(Stream stream, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source stream.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(string, PdfSaveOptions, ICreateStreamProvider)
Convert mhtml source to pdf. Result is pdf file.
public static void ConvertMHTML(string sourcePath, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
MHTML source file path. It will be combined with the current directory path to form an absolute URL.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Url, PdfSaveOptions, ICreateStreamProvider)
Convert mhtml source to pdf. Result is pdf file.
public static void ConvertMHTML(Url sourceUrl, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Stream, Configuration, PdfSaveOptions, ICreateStreamProvider)
Convert mhtml source to pdf. Result is pdf file.
public static void ConvertMHTML(Stream stream, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source stream.
configuration
Configuration
The environment configuration.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(string, Configuration, PdfSaveOptions, ICreateStreamProvider)
Convert mhtml source to pdf. Result is pdf file.
public static void ConvertMHTML(string sourcePath, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
MHTML source file 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Url, Configuration, PdfSaveOptions, ICreateStreamProvider)
Convert mhtml source to pdf. Result is pdf file.
public static void ConvertMHTML(Url sourceUrl, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Stream, ImageSaveOptions, string)
Convert mhtml source to image. Result is image file.
public static void ConvertMHTML(Stream stream, ImageSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source stream.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(string, ImageSaveOptions, string)
Convert mhtml source to image. Result is image file.
public static void ConvertMHTML(string sourcePath, ImageSaveOptions options, string outputPath)
Parameters
sourcePath
string
MHTML source file path. It will be combined with the current directory path to form an absolute URL.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(Url, ImageSaveOptions, string)
Convert mhtml source to image. Result is image file.
public static void ConvertMHTML(Url sourceUrl, ImageSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(Stream, Configuration, ImageSaveOptions, string)
Convert mhtml source to image. Result is image file.
public static void ConvertMHTML(Stream stream, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
stream
Stream
Conversion source stream.
configuration
Configuration
The environment configuration.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(string, Configuration, ImageSaveOptions, string)
Convert mhtml source to image. Result is image file.
public static void ConvertMHTML(string sourcePath, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
sourcePath
string
MHTML source file 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.
ConvertMHTML(Url, Configuration, ImageSaveOptions, string)
Convert mhtml source to image. Result is image file.
public static void ConvertMHTML(Url sourceUrl, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertMHTML(Stream, ImageSaveOptions, ICreateStreamProvider)
Convert mhtml source to image. Result is image file.
public static void ConvertMHTML(Stream stream, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source stream.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(string, ImageSaveOptions, ICreateStreamProvider)
Convert mhtml source to image. Result is image file.
public static void ConvertMHTML(string sourcePath, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
MHTML source file path. It will be combined with the current directory path to form an absolute URL.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Url, ImageSaveOptions, ICreateStreamProvider)
Convert mhtml source to image. Result is image file.
public static void ConvertMHTML(Url sourceUrl, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Stream, Configuration, ImageSaveOptions, ICreateStreamProvider)
Convert mhtml source to image. Result is image file.
public static void ConvertMHTML(Stream stream, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
stream
Stream
Conversion source stream.
configuration
Configuration
The environment configuration.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(string, Configuration, ImageSaveOptions, ICreateStreamProvider)
Convert mhtml source to image. Result is image file.
public static void ConvertMHTML(string sourcePath, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
MHTML source file 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMHTML(Url, Configuration, ImageSaveOptions, ICreateStreamProvider)
Convert mhtml source to image. Result is image file.
public static void ConvertMHTML(Url sourceUrl, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourceUrl
Url
The source URL.
configuration
Configuration
The environment configuration.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertMarkdown(Stream, string)
Convert Markdown source to html. Result is Aspose.Html.HTMLDocument.
public static HTMLDocument ConvertMarkdown(Stream stream, string baseUri)
Parameters
stream
Stream
Conversion source.
baseUri
string
The base URI of the document. It will be combined with the current directory path to form an absolute URL.
Returns
Conversion result Aspose.Html.HTMLDocument.
ConvertMarkdown(Stream, string, Configuration)
Convert Markdown source to html. Result is Aspose.Html.HTMLDocument.
public static HTMLDocument ConvertMarkdown(Stream stream, string baseUri, Configuration configuration)
Parameters
stream
Stream
Conversion source.
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.
Returns
Conversion result Aspose.Html.HTMLDocument.
ConvertMarkdown(Stream, string, string)
Convert Markdown source to html. Result is html file.
public static void ConvertMarkdown(Stream stream, string baseUri, string outputPath)
Parameters
stream
Stream
Conversion source.
baseUri
string
The base URI of the document. It will be combined with the current directory path to form an absolute URL.
outputPath
string
Output file path.
ConvertMarkdown(Stream, string, Configuration, string)
Convert Markdown source to html. Result is html file.
public static void ConvertMarkdown(Stream stream, string baseUri, Configuration configuration, string outputPath)
Parameters
stream
Stream
Conversion source.
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.
outputPath
string
Output file path.
ConvertMarkdown(string)
Convert Markdown source to html. Result is Aspose.Html.HTMLDocument.
public static HTMLDocument ConvertMarkdown(string sourcePath)
Parameters
sourcePath
string
Path to source Markdown file. It will be combined with the current directory path to form an absolute URL.
Returns
Conversion result Aspose.Html.HTMLDocument.
ConvertMarkdown(string, Configuration)
Convert Markdown source to html. Result is Aspose.Html.HTMLDocument.
public static HTMLDocument ConvertMarkdown(string sourcePath, Configuration configuration)
Parameters
sourcePath
string
Path to source Markdown file. It will be combined with the current directory path to form an absolute URL.
configuration
Configuration
The environment configuration.
Returns
Conversion result Aspose.Html.HTMLDocument.
ConvertMarkdown(string, string)
Convert Markdown source to html. Result is html file.
public static void ConvertMarkdown(string sourcePath, string outputPath)
Parameters
sourcePath
string
Path to source Markdown file. It will be combined with the current directory path to form an absolute URL.
outputPath
string
Output file path.
ConvertMarkdown(string, Configuration, string)
Convert Markdown source to html. Result is html file.
public static void ConvertMarkdown(string sourcePath, Configuration configuration, string outputPath)
Parameters
sourcePath
string
Path to source Markdown file. It will be combined with the current directory path to form an absolute URL.
configuration
Configuration
The environment configuration.
outputPath
string
Output file path.
ConvertSVG(SVGDocument, XpsSaveOptions, string)
Convert svg document to xps.Result is xps file.
public static void ConvertSVG(SVGDocument source, XpsSaveOptions options, string outputPath)
Parameters
source
SVGDocument
Conversion source.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertSVG(Url, XpsSaveOptions, string)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(Url url, XpsSaveOptions options, string outputPath)
Parameters
url
Url
Source document URL.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertSVG(Url, Configuration, XpsSaveOptions, string)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(Url url, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
url
Url
Source document URL.
configuration
Configuration
The environment configuration.
options
XpsSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertSVG(string, XpsSaveOptions, string)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(string sourcePath, XpsSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg 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.
ConvertSVG(string, Configuration, XpsSaveOptions, string)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(string sourcePath, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg 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.
ConvertSVG(string, string, XpsSaveOptions, string)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(string content, string baseUri, XpsSaveOptions options, string outputPath)
Parameters
content
string
Inline string svg 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.
ConvertSVG(string, string, Configuration, XpsSaveOptions, string)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
content
string
Inline string svg 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.
ConvertSVG(SVGDocument, XpsSaveOptions, ICreateStreamProvider)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(SVGDocument document, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
document
SVGDocument
Conversion source.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(Url, XpsSaveOptions, ICreateStreamProvider)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(Url url, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(Url, Configuration, XpsSaveOptions, ICreateStreamProvider)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(Url url, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
XpsSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, XpsSaveOptions, ICreateStreamProvider)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(string sourcePath, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, Configuration, XpsSaveOptions, ICreateStreamProvider)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(string sourcePath, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, string, XpsSaveOptions, ICreateStreamProvider)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(string content, string baseUri, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline string svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, string, Configuration, XpsSaveOptions, ICreateStreamProvider)
Convert svg source to xps. Result is xps file.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline string svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(SVGDocument, DocSaveOptions, string)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(SVGDocument source, DocSaveOptions options, string outputPath)
Parameters
source
SVGDocument
Conversion source.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertSVG(Url, DocSaveOptions, string)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(Url url, DocSaveOptions options, string outputPath)
Parameters
url
Url
Source document URL.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertSVG(Url, Configuration, DocSaveOptions, string)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(Url url, Configuration configuration, DocSaveOptions options, string outputPath)
Parameters
url
Url
Source document URL.
configuration
Configuration
The environment configuration.
options
DocSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertSVG(string, DocSaveOptions, string)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(string sourcePath, DocSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg 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.
ConvertSVG(string, Configuration, DocSaveOptions, string)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(string sourcePath, Configuration configuration, DocSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg 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.
ConvertSVG(string, string, DocSaveOptions, string)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(string content, string baseUri, DocSaveOptions options, string outputPath)
Parameters
content
string
Inline string svg 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.
ConvertSVG(string, string, Configuration, DocSaveOptions, string)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, DocSaveOptions options, string outputPath)
Parameters
content
string
Inline string svg 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.
ConvertSVG(SVGDocument, DocSaveOptions, ICreateStreamProvider)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(SVGDocument document, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
document
SVGDocument
Conversion source.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(Url, DocSaveOptions, ICreateStreamProvider)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(Url url, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(Url, Configuration, DocSaveOptions, ICreateStreamProvider)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(Url url, Configuration configuration, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
DocSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, DocSaveOptions, ICreateStreamProvider)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(string sourcePath, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, Configuration, DocSaveOptions, ICreateStreamProvider)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(string sourcePath, Configuration configuration, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, string, DocSaveOptions, ICreateStreamProvider)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(string content, string baseUri, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline string svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, string, Configuration, DocSaveOptions, ICreateStreamProvider)
Convert SVG document to DOCX. Result is docx file.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, DocSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline string svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(SVGDocument, PdfSaveOptions, string)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(SVGDocument source, PdfSaveOptions options, string outputPath)
Parameters
source
SVGDocument
Conversion source.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertSVG(Url, PdfSaveOptions, string)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(Url url, PdfSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertSVG(Url, Configuration, PdfSaveOptions, string)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(Url url, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
PdfSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertSVG(string, PdfSaveOptions, string)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(string sourcePath, PdfSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg 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.
ConvertSVG(string, Configuration, PdfSaveOptions, string)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(string sourcePath, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg 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.
ConvertSVG(string, string, PdfSaveOptions, string)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(string content, string baseUri, PdfSaveOptions options, string outputPath)
Parameters
content
string
Inline string svg 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.
ConvertSVG(string, string, Configuration, PdfSaveOptions, string)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
content
string
Inline string svg 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.
ConvertSVG(SVGDocument, PdfSaveOptions, ICreateStreamProvider)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(SVGDocument document, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
document
SVGDocument
Conversion source.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(Url, PdfSaveOptions, ICreateStreamProvider)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(Url url, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(Url, Configuration, PdfSaveOptions, ICreateStreamProvider)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(Url url, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
PdfSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, PdfSaveOptions, ICreateStreamProvider)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(string sourcePath, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, Configuration, PdfSaveOptions, ICreateStreamProvider)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(string sourcePath, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, string, PdfSaveOptions, ICreateStreamProvider)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(string content, string baseUri, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Source document 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, string, Configuration, PdfSaveOptions, ICreateStreamProvider)
Convert svg source to pdf. Result is pdf file.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline string svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(SVGDocument, ImageSaveOptions, string)
Convert svg document to image. Result is image file.
public static void ConvertSVG(SVGDocument source, ImageSaveOptions options, string outputPath)
Parameters
source
SVGDocument
Conversion source.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertSVG(Url, ImageSaveOptions, string)
Convert svg document to image. Result is image file.
public static void ConvertSVG(Url url, ImageSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertSVG(Url, Configuration, ImageSaveOptions, string)
Convert svg document to image. Result is image file.
public static void ConvertSVG(Url url, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
ImageSaveOptions
Conversion options.
outputPath
string
Output file path.
ConvertSVG(string, ImageSaveOptions, string)
Convert svg document to image. Result is image file.
public static void ConvertSVG(string sourcePath, ImageSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg 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.
ConvertSVG(string, Configuration, ImageSaveOptions, string)
Convert svg document to image. Result is image file.
public static void ConvertSVG(string sourcePath, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg 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.
ConvertSVG(string, string, ImageSaveOptions, string)
Convert svg document to image. Result is image file.
public static void ConvertSVG(string content, string baseUri, ImageSaveOptions options, string outputPath)
Parameters
content
string
Inline string svg 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.
ConvertSVG(string, string, Configuration, ImageSaveOptions, string)
Convert svg document to image. Result is image file.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
content
string
Inline string svg 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.
ConvertSVG(SVGDocument, ImageSaveOptions, ICreateStreamProvider)
Convert svg source to image. Result is image file.
public static void ConvertSVG(SVGDocument document, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
document
SVGDocument
Conversion source.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(Url, ImageSaveOptions, ICreateStreamProvider)
Convert svg source to image. Result is image file.
public static void ConvertSVG(Url url, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(Url, Configuration, ImageSaveOptions, ICreateStreamProvider)
Convert svg source to image. Result is image file.
public static void ConvertSVG(Url url, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
The document URL.
configuration
Configuration
The environment configuration.
options
ImageSaveOptions
Conversion options.
provider
ICreateStreamProvider
Implementation of the Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, ImageSaveOptions, ICreateStreamProvider)
Convert svg source to image. Result is image file.
public static void ConvertSVG(string sourcePath, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, Configuration, ImageSaveOptions, ICreateStreamProvider)
Convert svg source to image. Result is image file.
public static void ConvertSVG(string sourcePath, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, string, ImageSaveOptions, ICreateStreamProvider)
Convert svg source to image. Result is image file.
public static void ConvertSVG(string content, string baseUri, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline string svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertSVG(string, string, Configuration, ImageSaveOptions, ICreateStreamProvider)
Convert svg source to image. Result is image file.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline string svg 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 Aspose.Html.IO.ICreateStreamProvider interface, which will be used to get an output stream.
ConvertTemplate(HTMLDocument, TemplateData, TemplateLoadOptions, string)
Merge html template with user data. Result is html file.
public static void ConvertTemplate(HTMLDocument template, TemplateData data, TemplateLoadOptions options, string outputPath)
Parameters
template
HTMLDocument
Source skeleton html doc.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
outputPath
string
Output file path.
ConvertTemplate(Url, TemplateData, TemplateLoadOptions, string)
Merge html template with user data. Result is html file.
public static void ConvertTemplate(Url url, TemplateData data, TemplateLoadOptions options, string outputPath)
Parameters
url
Url
Template source document URL.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
outputPath
string
Output file path.
ConvertTemplate(Url, Configuration, TemplateData, TemplateLoadOptions, string)
Merge html template with user data. Result is html file.
public static void ConvertTemplate(Url url, Configuration configuration, TemplateData data, TemplateLoadOptions options, string outputPath)
Parameters
url
Url
Template source document URL.
configuration
Configuration
The environment configuration.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
outputPath
string
Output file path.
ConvertTemplate(string, TemplateData, TemplateLoadOptions, string)
Merge html template with user data. Result is html file.
public static void ConvertTemplate(string sourcePath, TemplateData data, TemplateLoadOptions options, string outputPath)
Parameters
sourcePath
string
Path to template source html file. It will be combined with the current directory path to form an absolute URL.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
outputPath
string
Output file path.
ConvertTemplate(string, Configuration, TemplateData, TemplateLoadOptions, string)
Merge html template with user data. Result is html file.
public static void ConvertTemplate(string sourcePath, Configuration configuration, TemplateData data, TemplateLoadOptions options, string outputPath)
Parameters
sourcePath
string
Path to template source html file. It will be combined with the current directory path to form an absolute URL.
configuration
Configuration
The environment configuration.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
outputPath
string
Output file path.
ConvertTemplate(string, string, TemplateData, TemplateLoadOptions, string)
Merge html template with user data. Result is html file.
public static void ConvertTemplate(string content, string baseUrl, TemplateData data, TemplateLoadOptions options, string outputPath)
Parameters
content
string
Inline html template - skeleton.
baseUrl
string
Base URI of the html template. It will be combined with the current directory path to form an absolute URL.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
outputPath
string
Output file path.
ConvertTemplate(string, string, Configuration, TemplateData, TemplateLoadOptions, string)
Merge html template with user data. Result is html file.
public static void ConvertTemplate(string content, string baseUrl, Configuration configuration, TemplateData data, TemplateLoadOptions options, string outputPath)
Parameters
content
string
Inline html template - skeleton.
baseUrl
string
Base URI of the html template. It will be combined with the current directory path to form an absolute URL.
configuration
Configuration
The environment configuration.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
outputPath
string
Output file path.
ConvertTemplate(HTMLDocument, TemplateData, TemplateLoadOptions)
Merge html template with user data. Result is Aspose.Html.HTMLDocument.
public static HTMLDocument ConvertTemplate(HTMLDocument template, TemplateData data, TemplateLoadOptions options)
Parameters
template
HTMLDocument
Source skeleton html doc.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
Returns
Conversion result HTMLDocument.
ConvertTemplate(Url, TemplateData, TemplateLoadOptions)
Merge html template with user data. Result is Aspose.Html.HTMLDocument.
public static HTMLDocument ConvertTemplate(Url url, TemplateData data, TemplateLoadOptions options)
Parameters
url
Url
Template source document URL.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
Returns
Conversion result HTMLDocument.
ConvertTemplate(Url, Configuration, TemplateData, TemplateLoadOptions)
Merge html template with user data. Result is Aspose.Html.HTMLDocument.
public static HTMLDocument ConvertTemplate(Url url, Configuration configuration, TemplateData data, TemplateLoadOptions options)
Parameters
url
Url
Template source document URL.
configuration
Configuration
The environment configuration.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
Returns
Conversion result HTMLDocument.
ConvertTemplate(string, TemplateData, TemplateLoadOptions)
Merge html template with user data. Result is Aspose.Html.HTMLDocument.
public static HTMLDocument ConvertTemplate(string sourcePath, TemplateData data, TemplateLoadOptions options)
Parameters
sourcePath
string
Path to template source html file. It will be combined with the current directory path to form an absolute URL.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
Returns
Conversion result HTMLDocument.
ConvertTemplate(string, Configuration, TemplateData, TemplateLoadOptions)
Merge html template with user data. Result is Aspose.Html.HTMLDocument.
public static HTMLDocument ConvertTemplate(string sourcePath, Configuration configuration, TemplateData data, TemplateLoadOptions options)
Parameters
sourcePath
string
Path to template source html file. It will be combined with the current directory path to form an absolute URL.
configuration
Configuration
The environment configuration.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
Returns
Conversion result HTMLDocument.
ConvertTemplate(string, string, TemplateData, TemplateLoadOptions)
Merge html template with user data. Result is Aspose.Html.HTMLDocument.
public static HTMLDocument ConvertTemplate(string content, string baseUrl, TemplateData data, TemplateLoadOptions options)
Parameters
content
string
Inline html template - skeleton.
baseUrl
string
Base URI of the html template. It will be combined with the current directory path to form an absolute URL.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
Returns
Conversion result HTMLDocument.
ConvertTemplate(string, string, Configuration, TemplateData, TemplateLoadOptions)
Merge html template with user data. Result is Aspose.Html.HTMLDocument.
public static HTMLDocument ConvertTemplate(string content, string baseUrl, Configuration configuration, TemplateData data, TemplateLoadOptions options)
Parameters
content
string
Inline html template - skeleton.
baseUrl
string
Base URI of the html template. It will be combined with the current directory path to form an absolute URL.
configuration
Configuration
The environment configuration.
data
TemplateData
Data for merging (XML, JSON).
options
TemplateLoadOptions
Merging options object.
Returns
Conversion result HTMLDocument.