Open faceoffers28 opened 7 years ago
Is there an easy way to remove the header? The page header appears in the PDF file if the page is behind a login (see attached image).
Here is my code.
return new ViewAsPdf() { FormsAuthenticationCookieName = System.Web.Security.FormsAuthentication.FormsCookieName, //Cookies = cookies, ViewName = "_Invoice", Model = model, FileName = "NAME_Invoice.pdf", PageSize = Rotativa.Options.Size.A4, PageOrientation = Rotativa.Options.Orientation.Portrait, //CustomSwitches = "--print-media-type --header-center \"text\"" };
Any help is much appreciated. Thanks!
Is there an easy way to remove the header? The page header appears in the PDF file if the page is behind a login (see attached image).
Here is my code.
Any help is much appreciated. Thanks!