|110889||Aug 29,2013 07:20 AM||Sep 3,2013 01:21 AM||ASP.NET Web Forms (Classic)||1|
We have been using Syncfusion 11.2.025 and we have been converting HTML Documents to PDF. In an attempt to improve the PDF Document produce we have been attempting to use gecko renderer.
We followed the install instructions by placing geckowrapper into the XULRunner directory provided and the regsvr31 - path to .dll successfully.
References the DLL in our Application however when we go to convert a String of HTML to PDF a null point exception occurs appears to be within the getImagesFromString method. (Stack Trace below).
at Syncfusion.HtmlConverter.HtmlConverter.GetImagesFromString(String html, String baseUrl, ImageType type)
at Syncfusion.HtmlConverter.HtmlConverter.Convert(String html, String baseurl, ImageType type, Int32 width, Int32 height, AspectRatio aspectRatio)
I am probably missing something fairly obvious snipet of code below, if I alter the declaration of HTMLConvertor so it does not take the renderer argument then it works fine. result is HTMLToPdfResult and I have also checked the HTML object contains a string of html therefore confident it is not either of these onbjects.
result = Me.convertor.Convert(HTML, "www.citymainadmin.co.uk", ImageType.Metafile, CType(PdfPageSize.A4.Width, Integer), -1, AspectRatio.KeepWidth)
Can anyone be of any help?
Thank you for your interest in Syncfusion products.
Could you please report this issue through Direct Trac Developer Support System (https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents because you can take the advantage of the expertise of a dedicated support engineer and a guaranteed response time and we hope you will take advantage of this system as well. If you have already reported, please ignore this.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.