Rank: Newbie Groups: Member
Joined: 11/14/2014 Posts: 1
|
Since we updated our Nuget Package to the latest version, our actual implementation does not work anymore. We have a simple MVC view which we render as pdf. This view contains also images like this:
<img typeof="image/svg+xml" src="C:\Windows\TEMP\product1342560.svg">
And these are not shown anymore in the PDF.
The controller action looks like this:
[NoCache] [RenderAsPDF] public ActionResult Pdf() { EO.Pdf.HtmlToPdf.Options.PageSize = EO.Pdf.PdfPageSizes.A4; EO.Pdf.HtmlToPdf.Options.OutputArea = new System.Drawing.RectangleF(0.375f, 0.375f, 7.5f, 10.125f); EO.Pdf.HtmlToPdf.Options.JpegQualityLevel = 100; EO.Pdf.HtmlToPdf.Options.AutoAdjustForDPI = true;
EditPoolRefurbishmentModel model = PreparePoolRefurbishmentModel();
return View(view, "_LayoutPdf", model); }
Do we have to set a permission on the folder or is there a change in the browser engine and how can we override this behavior? As I said, on an older version of EO.pdf it works fine. Now we have the latest version.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
We have looked into this and confirmed this to be an issue. This will be fixed in our next build.
Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This is just to let you know that we have posted a new build that should resolve this issue. You can download the new build from our download page. Please take a look and let us know how it goes.
Thanks!
|