HtmlConverter
Convert Method (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).
Namespace:
Spire.Additions.Qt
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public static void Convert(
string url,
string fileName
)
Public Shared Sub Convert (
url As String,
fileName As String
)
public:
static void Convert(
String^ url,
String^ fileName
)
static member Convert :
url : string *
fileName : string -> unit
Parameters
-
url
-
Type:
System
String
Url address of the html page.
-
fileName
-
Type:
System
String
The output pdf file name.
See Also