How to Print Headers/Footers to pdf using Aspose.pdf?
Hi Deepi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Please elaborate on your requirement a bit as I am not clear about what you need. Do you need to add header and footer in PDF file and then print the file? Or do you only want to print header and footer of the PDF file (and don’t want to print the rest of the contents of the PDF files)? Please provide us some detail so we can answer your query accordingly.
Sorry for the inconvenience,
Sorry for confusion, Printing is not the Priority for us. Our actuall requirement is to get the Headers and Footers displayed on the specified Co-ordinates on the PDF document generated with or with out content.
AddHeader(…) and AddFooter(…) method of
PdfFileStamp class present under Aspose.Pdf.Facades namespace. Please visit the following link for further information on
PdfFileStamp stamp = new
stamp.AddHeader(new FormattedText("Head of the page"), 10, 50, 50);