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