Welcome Guest Search | Active Topics | Sign In | Register

Local files not shown Options
Recommerce AG
Posted: Saturday, July 2, 2022 5:49:11 AM
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.

eo_support
Posted: Monday, July 4, 2022 9:29:17 AM
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!
eo_support
Posted: Friday, July 29, 2022 5:22:35 PM
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!


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.