Method ConvertFile

Namespace
SoftZenPdf.Html
Assembly
SoftZenPdf.dll

ConvertFile(string)

Converts an HTML file; relative paths in it are read from its folder unless BaseDirectory is set.

public PdfDocument ConvertFile(string path)

Parameters

path string

The HTML file (UTF-8, or the encoding its byte order mark gives).

Returns

PdfDocument