HtmlToPdfRenderHTMLFileAsPdfAsync Method

Renders an HTML file as PDF asynchronously.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.10.3
Syntax
public Task<PdfDocument> RenderHTMLFileAsPdfAsync(
	string FilePath
)

Parameters

FilePath
Type: SystemString
File path to the HTML document.

Return Value

Type: TaskPdfDocument
Task of type PdfDocument
See Also
Install with Nuget