HtmlEngineOptions.Path Property

Gets or sets the path to a directory with the HTML engine.

Namespace:  BitMiracle.Docotic.Pdf.HtmlToPdf
Assembly:  BitMiracle.Docotic.Pdf.HtmlToPdf (in BitMiracle.Docotic.Pdf.HtmlToPdf.dll)

Syntax

C#
public string Path { get; set; }
VB
Public Property Path As String
	Get
	Set

Property Value

Type: String
The relative or absoute path to a directory with the HTML engine.

Remarks

Default value: .local-chromium.

Relative paths are treated as relative to the current directory (as returned by ).

If there is no directory at the specified path, it will be created.

The library downloads the compatible version of Chromium from https://storage.googleapis.com to the specified directory. Nothing gets downloaded if the directory already contains the compatible version of Chromium. You can pre-download the compatible version of Chromium and put it to the specified directory to avoid downloading at the run time.

describes the version of Chromium the library downloads and/or uses.

On Windows, the path must not be a junction link due to Chromium limitations.

See Also