Questions tagged [rotativa]

Rotativa is an ASP.NET MVC library providing a means to render HTML to PDF from an MVC Controller.

Rotativa is an ASP.NET MVC library providing a means to render HTML to PDF from an MVC Controller. Rotativa is based on wkhtmltopdf. It can be easy integrated in an ASP.Net MVC project, providing methods to return the views converted to pdf as a simple MVC project returns the views as plain HTML.

272 questions
0
votes
0 answers

HTML to PDF: CSS for multiple-page report (wkHtmlToPdf)

I am using Rotativa as a wrapper for wkhtmltopdf in order to render an invoice or multiple page report to pdf. However, when styling the document I encountered two problems. The @page element does not seem very compatible, as when I write for…
Arturo Ribes
  • 345
  • 3
  • 15
0
votes
1 answer

Can get Rotativa to Render HTML as PDF

I am using Latest Version of Rotativa. return new Rotativa.PartialViewAsPdf("ExportGuestReportPDF_PrintView", items) { FileName = "Guest Report.pdf" }; I am using above code to generate PDF file, above code flushed the PDF generated file to…
Waqar Ahmed
  • 1,414
  • 2
  • 15
  • 35
0
votes
1 answer

rotativa pdf doesn't show last page

I am using Aspnet mvc and .NET rotativa to convert html to pdf. I am using CustomSwitches to display paging in PDF footer as the example [here @{ Layout = null;}