Welcome Guest Search | Active Topics | Sign In | Register

the rendered PDF cuts the last lines from output file Options
maamoon
Posted: Thursday, March 31, 2016 12:18:39 PM
Rank: Newbie
Groups: Member

Joined: 3/31/2016
Posts: 1
I use MVCtoPDF function to render my partial view as a pdf .
EO.Pdf.HtmlToPdf.Options.OutputArea = new RectangleF(0.5f, 0.5f, 7.5f, 10f);
MVCToPDF.ResultFileName = "AccountStatement";
MVCToPDF.RenderAsPDF();
return PartialView("PDF_TemplateView", Model);
but the out put PDF file in some cases cut out few lines from the last page.
eo_support
Posted: Thursday, March 31, 2016 4:16:46 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,201
Hi,

This maybe related to your CSS. You can try to comment out of your CSS block by block to see if that resolves the problem for you. If that does not work, please try to isolate the problem into a test project and send the test project to us. See here for more details:

http://www.essentialobjects.com/forum/test_project.aspx

Once we have that we will run it here and see what we can find. Usually as long as we can see the problem here, we will be able to find out the root cause.

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.