HtmlConversionOptions.Cookies Property

Gets the collection of cookies to set before the loading part of the conversion.

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

Syntax

C#
public CookieCollection Cookies { get; }
VB
Public ReadOnly Property Cookies As CookieCollection
	Get

Property Value

Type: CookieCollection
The collection of cookies to set before the loading part of the conversion.

Remarks

When converting a URL, the library uses the URL for all cookies without a Domain value.

When converting an HTML code, the library uses the BaseUri value for all cookies without a Domain value. You can setup the base URI using the Load property.

When converting an HTML code without specifying a base URL, the library ignores all cookies without a Domain value.

See Also