HtmlToPdfConvertFile Method (String, String) |
Writes the file with HTML or plain-text string into the file in PDF format.
Namespace: MailBee.PdfAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntaxpublic void ConvertFile(
string sourceFile,
string pdfFile
)
Public Sub ConvertFile (
sourceFile As String,
pdfFile As String
)
Parameters
- sourceFile
- Type: SystemString
The path to the file containing HTML or plain-text data. - pdfFile
- Type: SystemString
The filename to write .pdf data into.
Exceptions
RemarksIf
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