HtmlToPdfRenderHTMLFileAsPdf Method

Renders an HTML file as PDF binary data.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.10.3
Syntax
public PdfDocument RenderHTMLFileAsPdf(
	string FilePath
)

Parameters

FilePath
Type: SystemString
Path to an Html file.

Return Value

Type: PdfDocument
A PdfDocument
See Also
Download DLL or Install with Nuget