Click or drag to resize

HtmlConverter Class

Convert HTML to PDF with plugin.

For more details, please check https://www.e-iceblue.com/Tutorials/Spire.PDF/Spire.PDF-Program-Guide/Convert-HTML-to-PDF-with-New-Plugin.html

Inheritance Hierarchy
System Object
Spire.Additions.Qt HtmlConverter

Namespace: Spire.Additions.Qt
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class HtmlConverter

The HtmlConverter type exposes the following members.

Constructors
Name Description
Public method HtmlConverter
Initializes a new instance of the HtmlConverter class
Top
Properties
Name Description
Public property Static member PluginPath
Sets the path of the folder which cantains the HTMLConverter.dll and other dll files required for conversion.
Top
Methods
Name Description
Public method Static member Convert(String, Stream)
Convert an html page to a pdf file. The Qt html engine plugin is required. During conversion, JavaScript is enabled, default timeout is 30 seconds. The page size of output pdf file is A4 and margin is 90 (left-right) and 72 (top-bottom).
Public method Static member Convert(String, String)
Convert an html page to a pdf file. The Qt html engine plugin is required. During conversion, JavaScript is enabled, default timeout is 30 seconds. The page size of output pdf file is A4 and margin is 90 (left-right) and 72 (top-bottom).
Public method Static member Convert(String, Stream, LoadHtmlType)
Convert an html page to a pdf stream. The Qt html engine plugin is required. During conversion, JavaScript is enabled, default timeout is 30 seconds. The page size of output pdf file is A4 and margin is 90 (left-right) and 72 (top-bottom).
Public method Static member Convert(String, String, LoadHtmlType)
Convert an html page to a pdf file. The Qt html engine plugin is required. During conversion, JavaScript is enabled, default timeout is 30 seconds. The page size of output pdf file is A4 and margin is 90 (left-right) and 72 (top-bottom).
Public method Static member Convert(String, Stream, Boolean, Int32, SizeF, PdfMargins)
Convert an html page to a pdf stream. The Qt html engine plugin is required.
Public method Static member Convert(String, String, Boolean, Int32, SizeF, PdfMargins)
Convert an html page to a pdf file. The Qt html engine plugin is required.
Public method Static member Convert(String, Stream, Boolean, Int32, SizeF, PdfMargins, LoadHtmlType)
Convert an html page to a pdf file. The Qt html engine plugin is required.
Public method Static member Convert(String, String, Boolean, Int32, SizeF, PdfMargins, LoadHtmlType)
Convert an html page to a pdf file. The Qt html engine plugin is required.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also