4
Hello, in my application the reports are generated in Html, I would like to know a way to generate these Html reports in PDF.
4
Hello, in my application the reports are generated in Html, I would like to know a way to generate these Html reports in PDF.
3
Razorpdf is a good alternative, but it is incompatible with iTextSharp version 5 or higher. Thinking about it, I developed Razorpdf2.
Here are some examples of use. Basically, define your View normally, but use the PdfActionResult
or PdfResult
to return the result. PdfActionResult
works with normal HTML. PdfResult
works with iTextSharp markup syntax up to version 4.
There is, yet, the Rotary, but which does not work in Azure.
0
When we work with development . NET (although most today have it) has a package repository that is called in the world . NET NUGET.
There are several, I would recommend this: Razorpdf for MVC - Generate Pdfs with... 1.0.0 and has the tutorial on this link: Razorpdf. Just remembering that it generates from a View a PDF!
If you want to search another package click on this search link.
0
I am using Mvcrazortopdf Link: https://github.com/andyhutch77/MvcRazorToPdf
As suggested in this link: https://social.msdn.microsoft.com/Forums/pt-BR/b7eceb48-884d-47d6-afec-45c3f1dc5d18/gerar-pdf-com-aspnet-mvc?forum=mvcpt
Browser other questions tagged c# asp.net-mvc .net
You are not signed in. Login or sign up in order to post.
Razorpdf2 makes pagination ? has how to place image in header ?
– hard123
No. You would have to work directly with iTextSharp.
– Leonel Sanches da Silva