Table of Contents
AdditionalHeaders Property

Specifies additional HTTP headers to be added to the default headers while requesting the HTML page from the server.

Syntax
 public String[] AdditionalHeaders { get; set; }
Remarks

This property is a string array. Each element in the array contains a single header entry. For example, the following code adds two additional headers:

//Add additional headers for referer and charset
HtmlToPdf.Options.AdditionalHeaders = new string[]
{
   "Referer: http://www.essentialobjects.com",
   "Accept-Charset: iso-8859-5",
};
See Also