I have created a MVC 5 project. In this project, I have designed some partial view. Using Rotativa.MVC, I can convert partial view to pdf.
I want to set landscape page for pdf.
How to set a single page in landscape when partial view convert to pdf using Rotativa.MVC?
I have used below code for convert partial view to pdf.
[HttpPost]
public ActionResult TestAction(TestViewModel testViewModel)
{
return PartialView("_testPartial", testViewModel);
}
Please suggest me solution for above functionality.
Thank you