PdfConverterSavePdfFromHtmlFileToStream Method (String, Stream) |
Converts the specified HTML file to PDF and saves the rendered PDF document to the specified stream.
Namespace:
ExpertPdf.HtmlToPdf
Assembly:
ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax public void SavePdfFromHtmlFileToStream(
string htmlFilePath,
Stream outPdfStream
)
Public Sub SavePdfFromHtmlFileToStream (
htmlFilePath As String,
outPdfStream As Stream
)
Parameters
- htmlFilePath
- Type: SystemString
The full path of the HTML file to be converted to PDF. - outPdfStream
- Type: System.IOStream
The output stream where to save the generated PDF document.
See Also