Skip to content
Rotativa, /rota'tiva/. Make Pdf from Asp.Net MVC. Available on Nuget https://www.nuget.org/packages/Rotativa
C# HTML CSS
Find file
Failed to load latest commit information.
.nuget beta Feb 13, 2015
Rotativa.Demo upgrade tyo VS 2013 Feb 17, 2016
Rotativa.Tests Rotativa now can generate images as output Mar 19, 2015
Rotativa.UnitTests Rotativa now can generate images as output Mar 19, 2015
Rotativa upgrade tyo VS 2013 Feb 17, 2016
packages beta Feb 13, 2015
.gitignore beta Feb 13, 2015
LICENSE Create LICENSE Sep 13, 2013
README beta Feb 13, 2015
README.markdown rotativa hq in readme Feb 17, 2016
Rotativa.sln upgrade tyo VS 2013 Feb 17, 2016
UpgradeLog.htm beta Feb 13, 2015

README.markdown

Extremely easy way to create Pdf files from Asp.net MVC.

Usage:

public ActionResult PrintIndex()
{
    return new ActionAsPdf("Index", new { name = "Giorgio" }) { FileName = "Test.pdf" };
}

public ActionResult Index(string name)
{
    ViewBag.Message = string.Format("Hello {0} to ASP.NET MVC!", name);

    return View();
}

ViewAsPdf now available. It enables you to render a view as pdf in just one move, thanks to scoorf

public ActionResult TestViewWithModel(string id)
{
    var model = new TestViewModel {DocTitle = id, DocContent = "This is a test"};
    return new ViewAsPdf(model);
}

Also available a RouteAsPdf, UrlAsPdf and ViewAsPdf ActionResult.

It generates Pdf also from authorized actions (web forms authentication).

You can also output images from MVC with ActionAsImage, ViewAsImage, RouteAsImage, UrlAsImage.

Rotativa HQ

RotativaHQ.com is a SaaS version of Rotativa, hosted on Azure. Currently in beta stage, you can register for free.

Something went wrong with that request. Please try again.