Rendering MVC View in PDF
For rendering View in pdf format: ROTATIVA!
It's simple: i have a simple view "PrintView" and an Action as is:
public ActionResult Export(Model myModel)
{
return new Rotativa.ViewAsPdf("PrintView", myModel);
}
It's works!!
Written by Maria Manenti
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mvc
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#