Welcome Guest Search | Active Topics | Sign In | Register

HtmlToPdf.ConvertHtml Options
Posted: Monday, November 13, 2023 2:16:58 PM
Rank: Newbie
Groups: Member

Joined: 11/13/2023
Posts: 2
I am using EO.Pdf version 23.2.14 and facing issue while converting html to pdf using HtmlToPdf.ConvertHtml method. The issue happens on few of the HTML's which are being converted. These HTMLS are good and clean, they don't have any issue. Below is the
stackTrace :
at EO.Pdf.HtmlToPdfException.pnid(Exception abf)
at EO.Internal.mkem.xvco(mken wn)
at EO.Internal.mkem.xvco()
at EO.Pdf.HtmlToPdfSession.RenderAsPDF(PdfDocument doc)
at EO.Pdf.HtmlToPdf.etnk.lbvj()
at EO.Internal.mkjp.gtyn[a](dhft`1 bro)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc)

InnerException :
Index was outside the bounds of the array.
at EO.Internal.mkem.xvct(mkif wz, List`1 xa, Single xb, Single xc, Single xd, Double xe, Double xf, Boolean xg, Single& xh)
at EO.Internal.mkem.xvcs(mken wx, Single& wy)
at EO.Internal.mkem.xvco(mken wn)


Message :
Conversion failed.

Can you please suggest what's the issue.

Posted: Monday, November 13, 2023 2:26:31 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 23,944

Can you try the latest build and see if it resolves the issue? If the problem still occurs with the latest build, please either provide the Url/HTML that you are trying to convert, or try to isolate the problem into a test project and send the test project to us. See here for more details:


Once we receive the test project/files, we will debug into it here and see what we can find.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.