Hello,
Is it possible to check the http status code of an html to pdf request?
Here is a sample code:
HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter(HtmlRenderingEngine.Blink);
...
PdfDocument document = htmlConverter.Convert("url");
When the web page returns an error like a bad request, the converter creates a blank page with header and footer (if setted),
is it possible to get in some way this error?
If is not possible to get the http error can I check if in the document there is only one empty page?
Thank you.