Class HtmlConverter
- Namespace
- BitMiracle.Docotic.Pdf.HtmlToPdf
- Assembly
- BitMiracle.Docotic.Pdf.HtmlToPdf.dll
The HTML converter. The main purpose of the converter is to create PDFs from HTML files or URLs.
public sealed class HtmlConverter : IAsyncDisposable, IDisposable
- Inheritance
-
HtmlConverter
- Implements
- Inherited Members
Methods
- CreateAsync(HtmlEngineOptions)
Creates a new instance of HtmlConverter as an asynchronous operation.
- CreatePdfAsync(Stream, HtmlConversionOptions)
Creates a new PdfDocument with the contents of the specified HTML stream as an asynchronous operation.
- CreatePdfAsync(string, HtmlConversionOptions)
Creates a new PdfDocument with the contents of the specified HTML file as an asynchronous operation.
- CreatePdfAsync(Uri, HtmlConversionOptions)
Creates a new PdfDocument with the contents at the specified URL as an asynchronous operation.
- CreatePdfFromStringAsync(string, HtmlConversionOptions)
Creates a new PdfDocument with the specified HTML code as an asynchronous operation.
- Dispose()
Disposes internal resources of this converter.
- DisposeAsync()
Disposes internal resources of this converter as an asynchronous operation.