Converts the specified HTML file to PDF and saves the rendered PDF document to the specified stream.

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public void SavePdfFromHtmlFileToStream(
	string htmlFilePath,
	Stream outPdfStream
)
Visual Basic
Public Sub SavePdfFromHtmlFileToStream ( 
	htmlFilePath As String,
	outPdfStream As Stream
)
Visual C++
public:
void SavePdfFromHtmlFileToStream(
	String^ htmlFilePath, 
	Stream^ outPdfStream
)

Parameters

htmlFilePath
Type: System..::..String
The full path of the HTML file to be converted to PDF.
outPdfStream
Type: System.IO..::..Stream
The output stream where to save the generated PDF document.

See Also