PeachPDF

PeachPDF.HtmlRenderException

HtmlRenderException(string, HtmlRenderErrorType, Exception) Constructor

Thrown when HTML/CSS parsing, layout, or painting fails while a PdfGenerator method is rendering a document. RenderErrorType identifies which pipeline phase raised it.

public HtmlRenderException(string message, PeachPDF.HtmlRenderErrorType renderErrorType, System.Exception? innerException=null);

Parameters

message System.String

The error message.

renderErrorType HtmlRenderErrorType

The pipeline phase the error occurred in.

innerException System.Exception

Optional: the underlying exception that caused this error, if any.