andyhutch77 / MvcRazorToPdf

Create pdf documents within an asp .net mvc project by generating your views as normal but returning a PdfActionResult. This converts regular produced razor/html to pdf documents in the browser using the iTextXmlWorker.
125 stars 105 forks source link

PDF generated in the correct format locally but with wrong format in the server #47

Open juliomurta opened 8 years ago

juliomurta commented 8 years ago

Hello!!

I'm using MvcRazorToPDF 1.0.0.0 on my ASP.Net MVC 4 Application. I have a view that is converted to PDF using MvcRazorToPdf to A4 format. When the application is running locally everything is ok but when the application is published the A4 format isn't respected and the layout breaks.

I don't understand why it is occuring. Is there any suggestion to solve my problem? Thanks in advance!