HtmlConverter Class |
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
Namespace: Spire.Additions.Qt
The HtmlConverter type exposes the following members.
Name | Description | |
---|---|---|
![]() |
HtmlConverter |
Initializes a new instance of the
HtmlConverter
class
|
Name | Description | |
---|---|---|
![]() ![]() |
PluginPath |
Sets the path of the folder which cantains the HTMLConverter.dll
and other dll files required for conversion.
|
Name | Description | |
---|---|---|
![]() ![]() |
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).
|
![]() ![]() |
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).
|
![]() ![]() |
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).
|
![]() ![]() |
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).
|
![]() ![]() |
Convert(String, Stream, Boolean, Int32, SizeF, PdfMargins) |
Convert an html page to a pdf stream. The Qt html engine plugin is required.
|
![]() ![]() |
Convert(String, String, Boolean, Int32, SizeF, PdfMargins) |
Convert an html page to a pdf file. The Qt html engine plugin is required.
|
![]() ![]() |
Convert(String, Stream, Boolean, Int32, SizeF, PdfMargins, LoadHtmlType) |
Convert an html page to a pdf file. The Qt html engine plugin is required.
|
![]() ![]() |
Convert(String, String, Boolean, Int32, SizeF, PdfMargins, LoadHtmlType) |
Convert an html page to a pdf file. The Qt html engine plugin is required.
|
![]() |
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
![]() |
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
![]() |
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
![]() |
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|