EVO HTML to PDF Converter

HtmlToPdfElementHttpRequestHeaders Property

EVO PDF Client for .NET Documentation
Gets a collection of custom HTTP headers to be sent by the HTML to PDF element converter to the web server when the web page is requested from a URL. A custom HTTP header is defined by a name and a value pair that can be added to HttpRequestHeaders cllection. The PersistentHttpRequestHeaders property can be set on true to instruct the converter to send the custom headers each time an external resource (image, css, etc) referenced by the web page is requested. By default the PersistentHttpRequestHeaders property is false and the custom headers are not automatically sent to the web server when the web page resources are requested. The custom HTTP headers can be used to define cookies, authentication options, URL referrer or any other HTTP header to be sent to the web browser. The preferred method to send cookies is to use the HttpRequestCookies property.

Namespace:  EvoPdf.HtmlToPdfClient
Assembly:  EvoHtmlToPdfClient (in EvoHtmlToPdfClient.dll) Version: 9.0.0.0 (9.0.0.0)
Syntax

public NameValuePairsCollection HttpRequestHeaders { get; }

Property Value

Type: NameValuePairsCollection
See Also

Reference