HtmlConverter
Convert Method (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).
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,
Stream stream
)
Public Shared Sub Convert (
url As String,
stream As Stream
)
public:
static void Convert(
String^ url,
Stream^ stream
)
static member Convert :
url : string *
stream : Stream -> unit
Parameters
-
url
-
Type:
System
String
Url address of the html page.
-
stream
-
Type:
System.IO
Stream
The output pdf Stream.
See Also