Rank: Newbie Groups: Member
Joined: 10/28/2011 Posts: 3
|
When trying to parse the adobe web site, I receive the following HtmlToPdfException: "Convertion failed. Object reference not set to an instance of an object."
//Sample code HtmlToPdfOptions options = new HtmlToPdfOptions(); options.MaxLoadWaitTime = 60000;
HtmlToPdf.Options.AutoFitX = HtmlToPdfAutoFitMode.ScaleToFit; HtmlToPdf.Options.AutoFitY = HtmlToPdfAutoFitMode.ScaleToFit;
HtmlToPdf.ConvertUrl("url", "pdf file");
Stack Trace
at EO.Pdf.HtmlToPdfException.b(Exception A_0) at EO.Pdf.Internal.kl.a() at EO.Pdf.Internal.kl.i() at EO.Pdf.HtmlToPdf.a(kl A_0) at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertUrl(String url, String pdfFileName, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertUrl(String url, String pdfFileName) at eopdfTest.EoPdfConverter.ScreenMediaTypePrinter.PrintPaperSizeFitToPage()
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I believe this is a known issue and we already have a build that should fix this issue. Please see your private message for the download location.
Thanks!
|