Rotativa
Rotativa copied to clipboard
Headers Hight All Document
Hello how about a saludo.tengo follows to generate the document heders appears on the first page but occupies the entire document. to this should be?
he code you use to generate the pdf
var header = Server.MapPath("~/Static/_Header.html");
string customeSwitches = string.Format("--allow " +
"--header-html \"{0}\" " , header);
ReporteCotizacion reporteCotizacion = new BL_Reportes().RepoteCotizacion(bandejaCotizacionID);
return new Rotativa.PartialViewAsPdf("_ReporteCotizacion", reporteCotizacion)
{
CustomSwitches = customeSwitches
}