HtmlEngineOptions.UseSandbox Property

Gets or sets the value indicating whether the engine should run in a sandbox.

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

Syntax

C#
public bool UseSandbox { get; set; }
VB
Public Property UseSandbox As Boolean
	Get
	Set

Property Value

Type: Boolean
true if the engine should run in a sandbox; otherwise, false.

Remarks

Default value: true.

When a sandbox is used, the HTML engine works within a very restrictive environment. The only resources a sandboxed process can freely use are CPU cycles and memory. A sandboxed process cannot write to disk or display windows.

See Also