HtmlToPdfConvert Method (Uri, String) |
Converts HTML, plain text or XML document denoted by the specified URI into the file in PDF format.
Namespace: MailBee.PdfAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax public void Convert(
Uri sourceUri,
string pdfFile
)
Public Sub Convert (
sourceUri As Uri,
pdfFile As String
)
Parameters
- sourceUri
- Type: SystemUri
An Uri oject with address of web page
containing HTML or plain-text data. - pdfFile
- Type: SystemString
The filename to write .pdf data into.
Exceptions Remarks If
SourceType is
Html (default value),
the input is considered HTML; if
SourceType is
Text
the input is considered plain-text; otherwise, XMLized XHTML.
Examples See Also