Rotativa icon indicating copy to clipboard operation
Rotativa copied to clipboard

Headers Hight All Document

Open VesperDev opened this issue 10 years ago • 0 comments

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?

captura

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
       }

VesperDev avatar Mar 21 '16 20:03 VesperDev