Table of Contents
ThrowOnHttpError Property

Gets or sets a value indicating whether the conversion should fail if a HTTP error occurred.

Syntax
 public Boolean ThrowOnHttpError { get; set; }
Remarks

By default, the conversion will still succeed even if a HTTP error occurred. For example, if the converter tries to access an unauthorized page, the web server may return "403 - Forbidden" HTTP error but also respond a custom and user friendly page informing the user that they are not authorized to access the requested page. In this case by default the page will be still converted to PDF and the conversion would still succeed. Setting this property to true to throw an exception in such case.

See Also