Property Cookies
- Namespace
- BitMiracle.Docotic.Pdf.HtmlToPdf
- Assembly
- BitMiracle.Docotic.Pdf.HtmlToPdf.dll
Cookies
Gets the collection of cookies to set before the loading part of the conversion.
public CookieCollection Cookies { get; }
Property Value
- 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.
Read the Convert HTML to PDF in C# and VB.NET article for examples of using this property.