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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also