Nizam Nizam

Nizam Nizam

  • NA
  • 11
  • 4.4k

About MVC 4 Rotative Print

Jul 27 2015 5:39 AM
 
 this is my rotative print in mvc4 A4 size page
but i want to do another way like in A4 page half only i need to show details and the other half like
same details , i wanna show it landscape
 
 
public ActionResult TcPrint()
{
var rotativa = new Rotativa.PartialViewAsPdf
{
PageOrientation = Rotativa.Options.Orientation.Landscape,
PageSize = Rotativa.Options.Size.A4,
ViewName = "TcPrint",
CustomSwitches = "--footer-center \"[page]\""
};
return rotativa;

}