HtmlConverter Class

The HTML converter. The main purpose of the converter is to create PDFs from HTML files or URLs.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.HtmlToPdf.HtmlConverter

Namespace:  BitMiracle.Docotic.Pdf.HtmlToPdf
Assembly:  BitMiracle.Docotic.Pdf.HtmlToPdf (in BitMiracle.Docotic.Pdf.HtmlToPdf.dll)

Syntax

C#
public sealed class HtmlConverter : IAsyncDisposable, 
	IDisposable
VB
Public NotInheritable Class HtmlConverter
	Implements IAsyncDisposable, IDisposable

The HtmlConverter type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCreateAsync
Creates a new instance of HtmlConverter as an asynchronous operation.
Public methodCreatePdfAsync(Stream, HtmlConversionOptions)
Creates a new PdfDocument with the contents of the specified HTML stream as an asynchronous operation.
Public methodCreatePdfAsync(String, HtmlConversionOptions)
Creates a new PdfDocument with the contents of the specified HTML file as an asynchronous operation.
Public methodCreatePdfAsync(Uri, HtmlConversionOptions)
Creates a new PdfDocument with the contents at the specified URL as an asynchronous operation.
Public methodCreatePdfFromStringAsync
Creates a new PdfDocument with the specified HTML code as an asynchronous operation.
Public methodDispose
Disposes internal resources of this converter.
Public methodDisposeAsync
Disposes internal resources of this converter as an asynchronous operation.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

See Also