MvcRazorToPdf
MvcRazorToPdf copied to clipboard
Rendered PDF is visually different from rendered XHTML.
VS2015. Created new MVC5 project.
Added ~/Views/Shared/_PdfLayout.vbhtml Altered ~Views/Home/Contact.vbhtml to use _PdfLayout Modified HomeControler.Contact() to return a new PdfActionResult
The pdf is visually different from the web page. I've attached a screenshot showing the difference.