Converts the specified HTML file into a PDF document and saves the rendered PDF document
into the specified disk file.
Namespace: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public void SavePdfFromHtmlFileToFile(
string htmlFilePath,
string outFile
) |
| Visual Basic |
|---|
Public Sub SavePdfFromHtmlFileToFile (
htmlFilePath As String,
outFile As String
) |
| Visual C++ |
|---|
public:
void SavePdfFromHtmlFileToFile(
String^ htmlFilePath,
String^ outFile
) |
Parameters
- htmlFilePath
- Type: System..::..String
The full path of the HTML file to be converted to PDF.
- outFile
- Type: System..::..String
The full path of the file where to save the rendered PDF document.
See Also