Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Wed Sep 23, 2020 11:29 am

Hi,
I'd like to draw header and footer (both text only) on the pages of a previously merged PDF and to do this I iterate through the Pages-Collection of the merged pdfDocument and basically call DrawString on the Canvas of each page. Unfortunately some of the pages have a clockwise rotation of 90° (intended!) and therefore the header and the footer are also rotated, which is not intended. In this case header and footer should be rotated counterclockwise 90°. Could you advise me how to proceed in this case? Thanks in advance for your support!

it_sam_2020
 
Posts: 1
Joined: Fri Jul 03, 2020 7:15 am

Thu Sep 24, 2020 9:21 am

Hello,

Thanks for your inquiry.
You can refer to this article (Draw Rotate Text in PDF) to draw rotated text.
If this does not meet your needs well, please provide us with your input files and your desired output, so that we could provide you with the corresponding solution. You can upload your files here or send them to us ([email protected]) via email. Thanks in advance

Sincerely,
Elena
E-iceblue support team
User avatar

Elena.Zhang
 
Posts: 279
Joined: Thu Jul 23, 2020 1:18 am

Return to Spire.PDF