We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Adding headers to existing PDF documents

I have a great many pdf document to add a header to. Aspose seems the ideal product to accomplish this monumental task. I downloaded the trial, got the 30 day license, installed it, wrot a console app in C# to recure thru a directory structure of PDFs. I seems to be working when all the pages in a document are in portait mode. Some of the pages in the documents are rotated 90 degrees clokwise and for these it dose not process them at all. Is there something esle I need to do rotated pages? Also, does there have to be a certain amount of space for the header of a page to be modified and if there is not, is there a way to detect the header size?


Thanks for contacting support and sorry for the delayed response.

Can you please share the PDF files which are rotated to 90 degree angle to which the Header is not being added. We will test the scenario and will share our findings.

Headers inside PDF files have specific region like we have in MS Word files. But I am afraid we cannot determine the size of header/footer instances.