Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
How to add Page numbers,header and footer to pdf document
Mahesh Bodepudi
7y
229
1
Reply
Hi,
I have to add header and footer to a pdf document.I am using MVC4 and rendering view to pdf document and downloading by using ITextSharp.Now I am using the below code
public ActionResult DownloadPDF(string shipId)
{
var report = new ActionAsPdf("ExporttoPDF", new { shipId = shipId });
return report;
}
Could any one please help me how to add header and footer while downloading the pdf through code.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
How can I load pdf file in richtext bx editor in asp.net mvc
Regd:- Web Application user activity details !!